Computer Science, asked by Sanskarlohani93011, 6 months ago

A program to find the product of 5,7,12 using variable

Answers

Answered by anindyaadhikari13
12

\star\:\:\:\bf\large\underline\blue{Question:-}

  • Write a java program to find the product of 5, 7 and 12 using variable.

\star\:\:\:\bf\large\underline\blue{Source\:Code:-}

class Program

{

public static void main()

{

int p;

p=5*7*12;

System.out.println("Product is:- "+p);

}

}

Similar questions