Source Code:
#include <stdio.h>
#include <conio.h>
//Multiplication program by Akshay...
void main()
{
int a,b,c,multiplication;
clrscr();
printf("Enter the value of a = ");
scanf("%d",&a);
printf("Enter the value of b = ");
scanf("%d",&b);
printf("Enter the value of c = ");
scanf("%d",&c);
multiplication=a*b*c;
printf("The multiplication of a,b and c is = %d ",multiplication);
getch();
}
//Done!!!
After writing the source code save with extension .C++
Output:
No comments :
Post a Comment