Pages

Write a program in c language to print counting using function.

Wednesday, 10 July 2013

#include<stdio.h>
#include<conio.h>
int mul(int);
int main()
{
    int a=10;
    printf("%d", mul(a));
    getch();
}
int mul(int a)
{
       int x;
       for(x=1;x<=a;x++)
       {
              printf("%d\n",x);
       }

}
 

Search Box

Most Reading

Contact Form

Name

Email *

Message *