Rewrite the given codes as specified
Using switch..case statement if(y==1947)
d=15.0/100; else if(y==1985)
else d=2.0/100
Answers
Answered by
1
Answer:
switch(y) {
case(1947) :
d=15.0/100;
break;
case(1985) :
break;
default:
d=2.0/100;
}
Similar questions
Social Sciences,
3 months ago
Science,
3 months ago
Hindi,
6 months ago
Environmental Sciences,
6 months ago
English,
11 months ago
English,
11 months ago
Math,
11 months ago