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);
}
}
write a program that asks the user to enter an objects mass, and then calculates and displays its weight.
3 answers
create a flowchart &write a program that accepts a dollar value and coverts it to its equivalent peso value. assuming that 1dollar=46.00pesos
information about programs