jituTechnology

jituTechnology

write a program to print first 10 terms of the following series using for loop. 1 5 9 13 …..

Here is the c source code/program for: write a program to print first 10 terms of the following series using for loop. 1 5 9 13 …..

/* write a program to add first seven series using for loop
programmed by:
Name: Jitendra kumar Yadav
Roll: 16
Date: 12 feb 2011 */
#include <stdio.h>
#include <conio.h>
void main()
{
   int i,j=0;
   for(i=1; i<=100; i=i+4)
   {
     j=j+1;
      if(j==11)
           break;
     printf(“%d\t”,i);
   }
   getch();
}

No comments yet.

Add a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Connect with Me

GPO 8973 NPC 541; Kathmandu Nepal
Phone: +977 9851236800

Calendar

April 2026
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930