Computer Science, asked by calli321, 6 months ago

Write a java program to convert kg into g. ​

Answers

Answered by kumarikavita09069785
1

Answer:

Program for mass conversion from kg to gram in java. 1. The program prints the message to enter mass. 2.....

Import the Scanner.

Declare the class as public.

Add the void main function.

Add system. ...

Declare input as Scanner.

Take the mass and save it in variable.

Similar questions