write the output of the following:
Attachments:
Answers
Answered by
1
1) when a=15 then, control will go in case 15 and the output will be a= 15*10= 150 and there is no break therefore control will go to case 25 and thus a=150+10=160
2) when a=10 then, control will go in default and output will be 10
2) when a=10 then, control will go in default and output will be 10
Anonymous:
see there is no break after case 15
Similar questions
Social Sciences,
8 months ago
Economy,
8 months ago
Math,
8 months ago
Chemistry,
1 year ago
Physics,
1 year ago
Political Science,
1 year ago