Question: import java.util.Scanner; public class *Intan { public static void main (String args []) { Scanner input = new Scanner(System.in); System.out.println(Please insert parcel weight: ); double
import java.util.Scanner; public class *Intan { public static void main (String args []) { Scanner input = new Scanner(System.in);
System.out.println("Please insert parcel weight: "); double weight = input.nextDouble();
if (weight>5.0) { System.out.println("Please put this parcel in low place!"); }
else { System.out.println("This item is lightweight. Handle with care"); }
System.out.println("Please insert parcel height: "); double height = input.nextInt();
System.out.println("Please insert parcel destination: "); String destination = input.next();
System.out.println("Weight: "+ weight + "Height: " + height + "Destination: " + destination);
} }
#i need to convert the java code to C code. NOT C++ or C#!!! NEED TO CONVERT TO C!! I NEED AS SOON AS POSSIBLE. THANKS!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
