Home
C Programming Language
_Tutorials
_Programs
Python Programming
Data Analytics
About Us
Contact Us
Privacy Policy
MyShop24
Geeky Session
Home
C Program
Program To Print Series Of Odd Numbers And Their Sum
Program To Print Series Of Odd Numbers And Their Sum
Geeky Session
Hello friends, in this example, you will learn how to print the odd numbers
series 1+3+5+7.......n
and their Sum in C programming language using following topics:
Arithamatic Operators
Conditions Statements
The for Loops
Program:
#include
int main() { int n,i,sum=0; printf("Enter any no to print series: "); scanf("%d",&n); for(i=1;i
Output:
Enter any no to print series: 9
1+3+5+7+9
sum= 25
Post a Comment
1 Comments
Unknown
09/05/2020, 11:42
Nice post
Reply
Delete
Replies
Reply
Add comment
Load more...
Tutorials Series
Basic Of Computer
C Program
C Programming
Python Programming Language
Get a .NET @₹399/Yr
Contact Form
Name
Email
*
Message
*
Search Artical
Check Your Website
Translate
POPULAR POSTS
Paragraph In HTML
What Is Computer Programing Language And Classification Of Programming Language
Headings In HTML
Social Plugin
Popular Posts
Learn C Programming Language |
10/25/2019 02:25:00 pm
Functions in C Programming Language
12/03/2019 12:32:00 pm
What Is Computer Programing Language And Classification Of Programming Language
10/23/2019 07:43:00 pm
1 Comments
Nice post
ReplyDelete