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
Step: 1
public class VariableDeclarations public static void mainString args Your jogging speed in miles per ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started