Saved Bookmarks
| 1. |
Write Java program that performs the following:Generates a random number between 0 and 10 and assigns this value to an integer counter, then read unspecified number of characters. • If the character is a ‘+’ the counter increment by one , • If the character is a ‘-‘ the counter decrement by one,• If the program read another character, then stop reading and print the value of count. Can I have some help with this question? I tried many solutions but none of them was correct. |
|
Answer» Answer: hello bro WAIT I was searching for your answer..... from a long time but NONE of my SOLUTION worked. I even surfed the net but it ALSO went in vain. PLEASE check the question again that is it right. please make me the BRAINLIEST |
|