Computer Science, asked by sabinatariqueraza063, 5 months ago

Find out the error if any. Remove the error and rewrite the program.
Add (x*counter) Next 4​

Answers

Answered by tanudas85582
1

char c = reader.next().charAt(0);

To consume exactly one character you could use:

char c = reader.findInLine(".").charAt(0);

To consume strictly one character you could use:

char c = reader.next(".").charAt(0);

Similar questions