Asked by Anonymous

write a program that asks the user to enter an objects mass, and then calculates and displays its weight.

Answers

Answered by Sivashen
On jGrasp you will do'
import java.util.*;
public class Weight
{
public static void main(String[]args)
{
Scannerkb=new Scanner(System.in);
System.out.println("PLEASE ENTER WEIGHT OF AN OBJECT:");
double w=kb.nextDouble();
System.out.println("THE WEIGHT OF THE OBJECT IS:"+W);
}
}
Answered by argie
create a flowchart &write a program that accepts a dollar value and coverts it to its equivalent peso value. assuming that 1dollar=46.00pesos
Answered by abdullah
information about programs
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions