![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhnNEakks-DJ0TPiXjRn7zd0u20nno-wXPDV9JNrDZ4N7IZ5N7xsyWNDm40nTvW68hlfCPHq6c6j0rrokOI-f_0FJudQ4C-rSZo1buBBijMgKijfWBgivXde6kJt34GRxzYvEiQPfWbmAN/s640/1.jpg)
#include<stdio.h>
int main() {
char grade ='B';
switch(grade){
case 'A': printf("SweAT! \n");
break;
case 'B': printf("Could have tried harder \n");
break;
case 'C': printf("I C you didn't study \n");
break;
case 'D': printf("You love the D \n");
break;
case 'F': printf("That's embarassing \n");
break;
default : printf("That doesn't even make sense! \n");
}
return 0;
}
Comments
Post a Comment