Submitted Questions

  • how to make a progarm using switch case statement?

    Riquelme

    • Mar 12th, 2007

    Brankets "{}" are not necessary in case branches, since switch-case is straight flow structure. Thanks.

    praveen tiwari vaishnav mcm

    • Oct 14th, 2006

    #include#includevoid main(){int ch;printf("enter the no");scanf("%d",&ch);switch(ch){case 1: printf(" amerika" ); break;case 1: printf("indore"); break;defoult : printf("no value"); }