Question: Write a complete program implementing the following tasks: 1 ) Declare two double variables foot and meter. 2 ) By using console window input, prompt
Write a complete program implementing the following tasks:
Declare two double variables foot and meter.
By using console window input, prompt the user to enter the foot value, read the
value from the user and store it in the variable foot.
Compute the meter value according to the foot value and assign the result to the
variable meter using the following formula
meter foot
Display the result of meter on the console window. Your code should print the
following statements:
Please enter the value of feet:
ft converted to meters is m
Submission:
Submit in Gradescope using the folder Lab before the deadline.
Go to folio Content Gradescope Module All Gradescope Assignments Lab This
is how you will submit all your Homework Assignments and Labs and get a score.
At the starting of each program, please mention the package homew
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
