Write a program that reads a number in feet converts it to


Write a program that reads a number in feet, converts it to meters, and displays the result. One foot is 0.305 meters.

INPUT and PROMPTS.The program prompts for the feet with the message "Enter a value for feet: ".

OUTPUT . The output is of the form "x feet is y meters" where x is the number read in and y is the number of meters computed by the program .

CLASS NAMES. Your program class should be called FeetToMeters

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write a program that reads a number in feet converts it to
Reference No:- TGS0652177

Now Priced at $25 (50% Discount)

Recommended (95%)

Rated (4.7/5)