Black-White Mubin | মুবিনের রাফখাতা
Life is like a box of chocolates, you never know what you're going to get..
Wednesday, October 5, 2016
C Tutorial 4- Add two numbers and take inputs from keyboard
#include<stdio.h>
main()
{
int a,b,sum;
printf("Enter a:" );
scanf("%d",&a);
printf("Enter b:");
scanf("%d",&b);
printf("The sum of %d and %d is = %d \n \n ",a,b,(a+b) );
}
Output
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment