C Program to Multiply two given numbers
see also : How to write Hello World, C Program to Add two given num, C Program to Subtract two given num.
Download the Turbo C from the following link - https://docs.google.com/file/d/0B0OYNqLoqKCWbkZLWnNTc1dNZk0/edit
Program to Multiply two given numbers in C -
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
clrscr();
printf("Enter the first number\n");
scanf("%d",&a);
printf("Enter the second number\n");
scanf("%d",&b);
c=a*b;
printf("After Multiplication = %d\n",c);
getch();
}
Comments
Post a Comment