Computer Science, asked by gursharans28, 5 months ago

write a Java program
to calculate the product of

three numbers
89.09
34.56
67.89​

Answers

Answered by meits0982
1

 \fbox \red{Answer:-}

import java.util.Scanner;

public class MultiplicationOfTwoNumbers {

public static void main(String args[]){

Scanner sc = new Scanner(System.in);

System.out.println("Enter the value of the first number ::");

int a = sc.nextInt();

System.out.println("Enter the value of the first number ::");

int b = sc.nextInt();

System.out.println("Enter the value of the third number ::");

int c = sc.nextInt();

int result = a*b*c;

System.out.println("Product of the given three numbers is ::"+result);

}

}

Similar questions