Computer Science, asked by jaya90, 1 year ago

write a program to print the product of three numbers.

Answers

Answered by naman6418
7
for c++
#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;
}
Answered by Sudhamshu018
7

class Product

{

     public static void main()

      {

        int p,n;

        System.out.println("Enter the required number");

        p=n*n*n;

        System.out.print("The product is"+p);

         }

}

Similar questions