skip to main
|
skip to sidebar
jaga
Tuesday, January 24, 2012
Sample C Program To Print Sum Of Series 1 + 3 + 5 + …. N.
#include
#include
void main()
{
int n, i, sum = 0;
clrscr();
printf("
Enter any number:
" );
scanf(" %d ", &n);
for(i = 1; i
Sum = %d ", sum + n );
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Pages
Home
php palindrome
Followers
Blog Archive
►
2013
(1)
►
March
(1)
▼
2012
(29)
►
August
(1)
▼
January
(28)
C Program to Print Pascal Triangle
OOPS Interview Questions and Answers
oops
oops concept click the following link
Sample C Program To Accept & Add Ten Numbers Using...
Sample C Program To Print Floyd’s Triangle.
Sample C Program To Add Two Numbers Using Pointers.
Sample C Program For Entering An Array Of Elements.
Sample C Program To Print Number Of Vowels, Conson...
Sample C Program To Count The Number Of Times The ...
Sample C Program To Input & Multiply Two Numbers.
Sample C Program To Specify Size Of Commonly Used ...
Sample C Program To Print Sum Of Series 1 + 3 + 5 ...
Sample C Program To Compare Two Strings.
Sample C Program To Find The Greatest Among Three ...
Sample C Program To Check Whether A Number Is Even...
Sample C Program To Convert Celsius Temperature To...
Sample C Program To Print Fibonacci Series Upto 100
Sample C Program To Find Factorial Of A Number.
Sample C Program To Swap Two Numbers Without Using...
Sample C Program To Swap Two Numbers Using Tempora...
Sample C Program To Accept A String & Display In R...
Sample C Program To Accept A String & Display Numb...
Write C code to solve the Tower of Hanoi problem
Write a C program to check for palindromes
Write a C program to print a square matrix
Method 1public static String reverse(String s){ ...
Pascal triangle
►
2011
(11)
►
August
(11)
About Me
jaga
View my complete profile
No comments:
Post a Comment