Question: please submit a pseudocode solution only. please note my assinged units are gallons to cubit feet . please not that named constant is required for


please submit a pseudocode solution only. please note my assinged units are gallons to cubit feet . please not that named constant is required for the conversion factor
thanks in advance
Design a program that will ask the user to enter a measurement of a physical quantity in one unit, then convert and report out the equivalent amount based on a different unit of measure. For example, one mile is equivalent to 5.280 feet. Given a distance of 4.4 miles, a miles-to-feet conversion calculator would produce a result 5,280. Each student ill be assigned a unique from and to unit pair. The calculator algorithm is to be one d ting the value entered in the from units and outputting the equivalent value in the to units The general requirements are: . Allow the user to input a numerical value o Prior to the input instruction, display a prompt that asks the user to enter a number of from units; the prompt must explicitly identify what the from unit is Convert the user's input to the equivalent value in to units o Separate variables must be used to maintain the user's input and the result of the conversion o Named constants must be used for any numerical values that are invariant -ie. do not change with respect to the conversion calculation Display the resulting equivalent amount o The output must include an appropriate label that explicitly identifes the to unit. . For Homework #2 a Flowgorithm flowchart is required and the.fprg hle is to be submitted. Ilustrative.orompt and outaut label for miles to fect convers prompt: Please enter a distance in miles: label: The equivalent distance in feet is on or simply: feet represents the numerical result type FROM units TO units 1 speed knots 2 distance miles 3 distance furlongs test case feet per second 7 knots 11.815 feet per second kilometers 7miles 11.263 kilometers meters 7 furlongs 1408 meters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
