Program for addition of two numbers by accepting the numbers from user.
/* Program for addition of two integers
using single scanf() for taking input.
Developed by: STUDENT NAME
Class: B/C
Roll number: 10*/
#include<stdio.h>
void main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
using single scanf() for taking input.
Developed by: STUDENT NAME
Class: B/C
Roll number: 10*/
#include<stdio.h>
void main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("\nEnter two integer numbers");
scanf("%d%d",&a,&b);
c=a+yb;
printf("Addition of two numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter the value of two numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers=%d",c);
}
This comment has been removed by the author.
ReplyDelete#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
short int a;
int b;
long int c;
float d;
double e;
long double f;
char g;
printf("\n bytes occubied by short integer a=%d",sizeof(a));
printf("\n bytes occubied by integer b=%d",sizeof(b));
printf("\n bytes occubied by long integer c=%d",sizeof(c));
printf("\n bytes occubied by float d=%d",sizeof(d));
printf("\n bytes occubied by double e=%d",sizeof(e));
printf("\n bytes occubied by long double f=%d",sizeof(f));
printf("\n bytes occubied by char g=%d",sizeof(g));
}
#include
ReplyDeletevoid main()
{
int l,m,n;
printf("\nEnter two integer numbers");
scanf("%d%d",&l,&m);
n=l+m;
printf("Addition of two numbers is %d",n);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter two integer numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers is %d /n",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf(" enter two integers number\n");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two number is=%d",c);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two digit numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two digit numbers is %d",z);
}
This comment has been removed by the author.
ReplyDelete#include
Deletevoid main()
{
int a,b,c;
printf("\nEnter two digit numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of two digit numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\n Enter an integer");
scanf("%d%d",&x,&y);
z=x+y
printf("addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\n enter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("addition of two numbers is%d",z);
}
#include
ReplyDeletevoid main()
{
int a=10,b=20,c;
c=a+b;
printf("Additon of two numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int l,m,n;
printf("\nEnter two integer numbers");
scanf("%d%d",&l,&m);
n=l+m;
printf("Addition of two numbers is %d",n);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter the value");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of two no is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter the value");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of two no is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter the value of two numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers=%d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter the value");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of two no is %d",c);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("Enter the values of x,y");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("\nEnter two integer numbers");
scanf("%d%d",&a,&b);
c=a+yb;
printf("Addition of two numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter 2 intergers");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of no is %d",c);
}
This comment has been removed by the author.
ReplyDelete#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter 2 intergers");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of no is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter the value of two numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers=%d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("\nEnter two integer numbers");
scanf("%d%d",&a,&b);
c=a+yb;
printf("Addition of two numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter 2 intergers");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of no is %d",c);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter two integer");
scanf("%d%d",&a,&b);
c=a+b;
printf("adition of numbers is %d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter two integer numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers is %d /n",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter two integer numbers");
scanf("%d%d",&a,&b);
c=a+b;
printf("addition of two numbers is %d /n",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("Enter 2 intergers");
scanf("%d%d",&a,&b);
c=a+b;
printf("Addition of no is %d",c);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,z;
printf("\nEnter two integer numbers");
scanf("%d%d",&x,&y);
z=x+y;
printf("Addition of two numbers is %d",z);
}
#include
ReplyDeletevoid main()
{
int x,y,sum;
printf("enter two integer values");
scanf("%d,%d",&x,&y);
sum=x+y;
printf("the sum of %d and %d is: %d",x,y,sum);
}
#include
ReplyDeletevoid main()
{
int x,y,sum;
printf("enter two integer values");
scanf("%d,%d",&x,&y);
sum=x+y;
printf("the sum of %d and %d is: %d",x,y,sum);
}
#include
ReplyDeletevoid main()
{
int x,y,sum;
printf("enter two integer values");
scanf("%d,%d",&x,&y);
sum=x+y;
printf("the sum of %d and %d is: %d",x,y,sum);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter number");
scanf("%d%d",&a,&b);
c=a+b;
printf("%d",c);
}
#include
ReplyDeletevoid main()
{
int a,b,c;
printf("enter number");
scanf("%d%d",&a,&b);
c=a+b;
printf("%d",c);
}