Question: Code declaration statements (including the assignment of an initial value) for the following values: Your jogging speed in miles per hour (mph). FIT1051 lecturer allocated

Code declaration statements (including the assignment of an initial value) for the following values:

Your jogging speed in miles per hour (mph).

FIT1051 lecturer allocated to a workshop.

The capacity of passengers in a train wagon.

The length of a desk in millimetres.

The state of a light switch.

The number of books on a library shelf.

The current temperature of the day.

The memory size of a computer chip.

The state of a traffic light, which can either "RED", "YELLOW", or "GREEN". (Hint: data types need to be declared and initialise before use)

Write code to display the value of each of the above together with a suitable description (e.g. Your height: 1.85m).

in java use varaious datatypes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

public class VariableDeclarations public static void mainString args Your jogging speed in miles per ... View full answer

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 Programming Questions!