#include<stdio.h>
#include<conio.h>
int main(void)
{
int sum=0,n,i;
clrscr();
printf("\n Enter two no.");
scanf("%d%d",&n,&i);
sum=n+i;
printf("\n%d+%d=%d,n,i,sum);
getch();
return 0;
}
#include
#include
void main()
{
int a,b,c;
clrscr();
printf("enter a ,b values:");
scanf("%d%d",&a,&b);
c=a+b;
printf("the addition of two no is:",c);
getch();
}
//write a program for subtraction of 2 numbers.
#include
main()
{
int a,b,d;
printf("enter 2 numbers :");
scanf("%d%d",&a&b);
d=a-b;
printf("subtraction of 2 numbers=%d",d);
}
output(example)-
enter 2 numbers : 3 2
subtraction of 2 numbers : 1
#include<stdio.h>
#include<conio.>
void main()
{
int a,b,sum;
clrscr();
cin<<"enter value of a";
cout>>a;
cin<<"enter value of b";
cout<<b;
sum=a+b;
cout<<"sum of two numbers="
getch();
}
//program to add two numbers
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr(): //its prototype or header file is conio.h
printf("\n enter first number :"); //its prototype or header file is stdio.h
scanf("%d",&a); //its prototype or header file is stdio.h
printf("\n enter second number :"); //its prototype or header file is stdio.h
scanf("%d",&b); //its prototype or header file is stdio.h
c=a+b;
printf("\n the sum of two numbers is :%d",c); //its prototype or header file is stdio.h
getch(); //its prototype or header file is conio.h
}
Just declare, initialize, and subtract...
double a = 1.23456789;
double b = 2.34567890;
double c;
c = a-b;
Use ~ Ones complement operator and add one.
10 - 3 = 7
10 + ~3 + 1 = 7
GP>
int num0 = 0;
int num1 = 1;
int num2 = num1 - num0;
wap to subtract two variables
x -=y;
Write and run a client and a server program in C-language using UDP
write a lex program to delete space from the program
Yes.
How to write the program un Assembly language to set a password for personal computers?
write an assembly language program to find sum of N numbers
fish
Write your program and if you are having a problem post it here with a description of the problem you are having. What you are asking is for someone to do your homework for you. no i am asking to verify my answer
substracion of any two number program in c
x -=y;
The question is malformed and incomprehensible.
Write and run a client and a server program in C-language using UDP
question clarity
write a program to print A to Z on screen in c?
Yes.
write a lex program to delete space from the program
How to write the program un Assembly language to set a password for personal computers?