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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!