T.V. NAGARAJU TECHNICAL SOLUTIONS
Pages
Home
Online Courses
Tutorials
Operating Systems
C -Excercises
Python Excercises
JAVA Exercises
Placement Papers
Lab Programs
Python Programs
sum of two numbers
#include<stdio.h>
int main() {
int a,b,c;
scanf("%d%d",&a,&b);
c=a+b;
printf("sum is %d: ",c);
return 0;
}
Input:
2 3
Output:
sum is 5:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment