how to count the numbers entered by the user? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to count the numbers entered by the user?

count the number entered by the user using a while loop only in java https://code.sololearn.com/ctonWT5qSJ8y/?ref=app

9th Nov 2020, 3:42 PM
Giovan Seso
Giovan Seso - avatar
3 Answers
+ 1
I don't understand what do you mean by saying that how to count the numbers entered by the user. Do you mean that we have to display the number entered by the user or to display the number of numbers entered by the user?? please elaborate what do you want.
9th Nov 2020, 6:45 PM
Coder##***
Coder##*** - avatar
+ 1
Giovan Seso https://code.sololearn.com/cxowLM7tX5Hz/?ref=app I've written a code for you. Check this out.
9th Nov 2020, 9:11 PM
Coder##***
Coder##*** - avatar
0
Coder##*** you have to count on how many numbers the user entered. example: input: 2, 213, 4 output: the numbers entered: 3
9th Nov 2020, 6:48 PM
Giovan Seso
Giovan Seso - avatar