1.

Write a program to print the following series 10 20 30 40 50 ............

Answer» #include

void main()

{

 int i, N;

 printf("Enter N:");

 scanf("%d", &N);

 for(i=1; i<=N; i++)

 {

     printf("%d ",i*10);

 }

}


Discussion

No Comment Found

Related InterviewSolutions