how i will make this code short
Aman Prasad First write correct code. Semicolon break the statement so you should not use after if statement.
Aman Prasad Not break use return with proper message.
ok got it thanks a lot
Aman Prasad Check code again. I have updated. Now you can understand very clear.
please guide me how i can correct it
thanks! here i want to use break when i get input greater than 150