Computer for SEE and NEB

It is a complete SEE and NEB solution for computer science. It includes Computer Fundamentals, Database (SQL), Programming in C QBASIC, CSS, JavaScript, and PHP for beginners.

Breaking

Post Top Ad

Your Ad Spot

Sunday, July 31, 2022

C program to print the series 1 5 9 13,....... up to 10th terms.

 C program to print the series 1 5 9 13,....... up to 10th terms


#include<stdio.h>

#include<conio.h>

main()

{

            int term=1,i;

            for(i=0;i<10;++i)

{

            printf("%d\t",term);

            term=term+4;

           

}

getch();

}

No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages