WAP to display numbers from 1 to 10 using for loop and also using function.


Comments

  1. #include
    void shashi();
    void main()
    {
    int a;
    shashi();
    }
    void shashi()
    {
    int a;
    for(a=0;a<11;a++)
    printf("%d",a);
    }

    ReplyDelete
  2. #include
    void shashi();
    void main()
    {
    int a;
    shashi();
    }
    void shashi()
    {
    int a;
    for(a=0;a<11;a++)
    printf("%d",a);
    }

    ReplyDelete
  3. #include
    void mohit();
    void main()
    {
    int a;
    mohit();
    }
    void mohit()
    {
    int a;
    for(a=0;a<11;a++)
    printf("%d",a);
    }

    ReplyDelete
  4. #include
    void mohit();
    void main()
    {
    int a;
    mohit();
    }
    void mohit()
    {
    int a;
    for(a=0;a<11;a++)
    printf("%d",a);
    }

    ReplyDelete

Post a Comment