How to write a program to add two numbers in C language
#include <stdio.h>
#include <conio.h>
int main()
{
int a,b,c;
printf("Enter two numbers to multiply\n");
scanf("%d%d",&a,&b);
Multiplication=a+b;
printf("Multiplication of the entered numbers=%d\n",c);
return 0;
}
OUTPUT: -
Enter two numbers to multiply
7
3
Multiplication of the entered numbers= 21


No comments:
Post a Comment