Hello iFamily,
I've been trying to use readLine() function in my program, which is always returning "nil" value and not able to provide the input from the console.
Please find the attached screenshot.
It is not allowing me enter any value as input from console.
Please let me know how to fix this ASAP.
Wanted to learn Swift language , but this is stopping me to proceed further.
let nop = readLine()----> giving nil directly unable to enter any input
Regards,
Samanth Sai
I've been trying to use readLine() function in my program, which is always returning "nil" value and not able to provide the input from the console.
Please find the attached screenshot.
It is not allowing me enter any value as input from console.
Please let me know how to fix this ASAP.
Wanted to learn Swift language , but this is stopping me to proceed further.
let nop = readLine()----> giving nil directly unable to enter any input
Regards,
Samanth Sai