I forgot to mention that the 'c' at the end is because we are reading a character - You can do it with any scanf friendly data-type.
See Format Specification Fields: scanf and wscanf Functions for...
Type: Posts; User: Click_here
I forgot to mention that the 'c' at the end is because we are reading a character - You can do it with any scanf friendly data-type.
See Format Specification Fields: scanf and wscanf Functions for...
Another way of getting rid of the '\n' character is by asking the scanf to read a character and do nothing with it -> this is done by using the '*' after the %.
i.e.
puts("Enter Two...