The following codes have been written using Python.
x = int(input("Enter a number: "))
y = int(input("Enter a number: "))
z = int(input("Enter a number: "))
p = x*y*z
print(p, "is the product of", x, y, "and", str(z)+ ".")
Hope it helps. :)
Answer:
#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"enter the value of a:";
cin>>a;
cout<<"enter the value of b:";
cin>>b;
cout<<"enter the value of c:";
cin>>c;
cout<<"product is:"<<(a*b*c);
return 0;
}
Step-by-step explanation:
5.6m questions
7.3m answers