+ 5
CODING
I want to create a code which on typing a number, say 1,outputs a number(the output) but on typing 1 again the number should change...Suggest and guide me guys
6 odpowiedzi
+ 2
I don't understand what exactly do you want. I understood it like user inputs some numbers and your program prins them back as long as the inputted number hasn't been inputted before and in case it was, you want to print a random value. Did I understood it correctly?
+ 8
what language
+ 4
you want random value when input is 1 several times
+ 3
oh sry bro it's java
+ 1
HAWKEYE Here you go!
https://code.sololearn.com/chOQI7uivPFm/?ref=app
0
i guess c++