+ 1
Guyss..... What do you think about this code?... It keeps on displaying error
2 Answers
+ 1
You should add } at the bottom. On line 29,you should write Console.ReadLine() instead of Console.Read()
Your program works if you input
1
1
1
1
1
M
1
And I suggest you should make sure the user only type M or F by
making a default value if users' input is invalid.
+ 1
Thanks....I'll try