+ 1

Do i have to define the variable again and again?

i assigned a variable x value 12 and used do while.. when i used switch it wasnt working. it worked when i reassigned the value 12 to x after do while. why do i need to do this?

2nd Feb 2019, 12:11 PM
Ishaan Oberoi
Ishaan Oberoi - avatar
1 Antwort
+ 8
Please show your code. Otherwise all we can do is have a guess https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum/
2nd Feb 2019, 12:27 PM
Anna
Anna - avatar