Rewrite the following program using a switch-case statement Page 1 of 4 #include int main() { long category; printf("Enter a category number between 50 and 60:"); scanf("%ld",&category); if (catogory...


Rewrite the following program using a switch-case statement<br>Page 1 of 4<br>#include <stdio.h><br>int main()<br>{<br>long category;<br>printf(=50 && category <52) printf("it="" is="" an="" elephant");="" else="" if="" (category="">= 53 && category <55) printf("it="" is="" a="" tiger");="" else="" if="" (category="">= 56 && category <58) printf(“it="" is="" a="" leopard");="" else="" printf("it="" is="" a="" strange="" animal!");="" return="" 0;="" }="" "/="">
Extracted text: Rewrite the following program using a switch-case statement Page 1 of 4 #include int main() { long category; printf("Enter a category number between 50 and 60:"); scanf("%ld",&category); if (catogory >=50 && category <52) printf("it="" is="" an="" elephant");="" else="" if="" (category="">= 53 && category <55) printf("it="" is="" a="" tiger");="" else="" if="" (category="">= 56 && category <58) printf(“it="" is="" a="" leopard");="" else="" printf("it="" is="" a="" strange="" animal!");="" return="" 0;="">

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here