Computer Science, asked by sona1640, 11 months ago

Wap in java to enter 3 numbers and print the product​

Answers

Answered by sswaraj04
1

Answer:

import java.util.Scanner;

public class HelloWorld{

    public static void main(String []args){

       Scanner sc=new Scanner(System.in);

       System.out.println("Enter first number");

       int a=sc.nextInt();

       System.out.println("Enter second number");

       int b=sc.nextInt();

       System.out.println("Enter third number");

       int c=sc.nextInt();

       System.out.println("product of three numbers is "+(a*b*c));

    }

}

Explanation:

Hope it helps:-)

mark it brainliest

Answered by Anonymous
4

hope it helps!!

#sumedhian ❤❤

Attachments:
Similar questions