C Lang Switch Case Name

#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) {
int choice=3;
  switch ( choice )
       {
      case 1:
              printf (" I am Hamza ");
               break;
       case 2:
               printf (" My Brother Ahtisham ");
               break;
       case 3:
              printf ("My friend Nabeel");
               break;
       default :
            printf ("No student found");
            break;
        }

return 0;
}

Output
                                           
                                            Share With Friend's

Comments