Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   C (https://www.askmehelpdesk.com/forumdisplay.php?f=438)
-   -   Answer code of given (https://www.askmehelpdesk.com/showthread.php?t=196467)

  • Mar 19, 2008, 03:59 PM
    vikash kumar
    Answer code of given
    Hi...
    Question...
    If I give input... 1
    Then output will be... one
    So on...
  • Jun 13, 2009, 10:22 AM
    emanuelthe1st

    #include<stdio.h>
    main()
    {
    int x;
    if(x==1){
    printf("one");
    else if(x==2){
    printf("two");
    else if(x==3){
    printf("three");
    else if(x==4){
    printf("four");
    |
    |
    |
    up to you desired

    }

  • All times are GMT -7. The time now is 10:36 PM.