please help , not getting the output
@dk89990
What error are you getting?
Please paste the IDE Screenshot with code and error .
Why are you using break in if else condition. There is no need of break statement here.
what output you want?