CSPrograms4u
Nothing Succeeds Like Success
Home
About
C
Programs
Numbers
Patterns
Conversions
C Practical File
PPTs
CPP
Programs
PPTs
CG
Programs
PPTs
DS
Programs
PPTs
Python
Programs
Java
Programs
PPT
Practical File
C#
Programs
PPTs
VB
Programs
PPTs
VB 2010
Programs
PPTs
Sunday, 15 October 2023
C PRO 2 : WAP to add two numbers.
// Program
# include <stdio.h>
int main()
{
int a,b,sum;
printf("Enter any two integer values : \n");
scanf("%d%d",&a,&b);
sum = a+b;
printf("Sum of %d and %d is %d",a,b,sum);
return 0;
}
**Author**
Sukhvir Singh
Subscribe for Video Lectures
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Total Pageviews
Popular Posts
Programming in JAVA
Following are some Java Programs :- 1. Program to print Hello on the Screen ( Program ) 2. Use of main and other function ( Program...
Try Catch in JAVA
1. Arithmetic Exception Division by Zero ( Click Here ) 2. Array Index Out of Bound ( Click Here ) 3. One Try and Multiple Catch ( Clic...
Conversions in JAVA
1. Octal to Binary ( Click Here ) 2. Octal to Decimal ( Click Here ) 3. Octal to Hexadecimal ( Click Here ) 4. Binary to Decimal ( C...
Multicolored Rectangle in CANVAS
<!DOCTYPE html> <html> <body> <canvas id="myCanvas" width="800" height="500" styl...
No comments:
Post a Comment
Note: only a member of this blog may post a comment.