Buzz your mind with
buzzeronline..
Here
you can learn about C its basic programs and all other concept
about it. No need to refer any book, just simply study here with
us. You can post your queries and feedback at
CONTACT
US
tab. We will help you out
for sure.
2. Addition of two number-
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int x,
y, z;
printf("Enter two numbers to add\n");
scanf("%d%d",&x,&y);
z = x +
y;
printf("Sum of entered numbers = %d\n",z);
return
0;
getch();
}
3. Subtraction of two
numbers-
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
int a,
b, c;
printf("Enter two numbers to subtract \n");
scanf("%d%d",&a,&b);
c = a -
b;
printf("Subtraction of entered numbers = %d\n",c);
return
0;
}
4. Multiplication of two
numbers-
#include<stdio.h>
#include<conio.h>
void
main()
{
clrscr();
int a,
b, c;
printf("Enter two numbers to multiply \n");
scanf("%d%d",&a,&b);
c = a /
b;
printf("Multiplication of entered numbers = %d\n",c);
getch();
}
As simple as you are. Just having the aim to provide the things that we have gain. It is a personal site and whole data is for you so it can help to deal with daily life tech problems. So if you are smart its the time to become smarter now. Lets gain..
We are just updating and enhancing our knowledge from internet, close friends and our mentors. And we are always pleased to share our knowledge and usefull information with you all. So keep touch with us and be regular for latest updates.
Copyright | HostGator 2011