#include<stdio.h> int main() { int i,n,num=0,sum=0; printf("First 10 even number is:\n"); for (i=1;i<=10;i++) { num+=2; printf("%5d",num); sum +=num; } printf("\n\nThe sum of = %d\n",sum); return 0 ; }
Most Popular
-
Befunge: Developed by : Chris Pressey Year: 1993 ...
-
-
The list below is an unordered list. You can pick any...
-
Recursion happens when function calls itself directly...
Copyrights © 2016 Codzya. Powered by Blogger.
Sunday, May 8, 2016
Subscribe to:
Post Comments (Atom)
- Recent
- Weekly
- Comment
Recent
As a task executes it utilizes the processor...
Sep 25 2016 | Read moreMemory leak occurs when programmers create a memory in heap and...
Aug 19 2016 | Read moreBefunge: Developed by : Chris Pressey Year: 1993 Stack-based,...
May 19 2016 | Read more1- The C Programming Language This book is a comprehensive...
May 18 2016 | Read more1. Java The tech community recently celebrated the 20th...
May 17 2016 | Read more
Weekly
-
Befunge: Developed by : Chris Pressey Year: 1993 ...
-
-
The list below is an unordered list. You can pick any...
-
Recursion happens when function calls itself directly...
-
1- The C Programming Language This book is a...
Comment
Get this Recent Comments Widget
0 Comment to "Find and Sum of First 10 Even Number"
Post a Comment