Answer to Question #1793 in Other Programming & Computer Science for hussain
Question – 2
You are required to automate the process of converting light years to inches. The speed of light is 300,000km/sec. (A light year is the distance light travels in one year)
1 km = 1000 m
1m = 1000 mm
1 inch = 25.4 mm
Design a solution using Pseudo Code and write a program according to the design.
Write a program that will help the driver of a truck that delivers and picks up compressed gas cylinders to determine the contents of the cylinder based on the colour of the cylinder. The program will print out a menu of colours to be entered. The user should then be instructed to enter the first letter of the colour of the tank. Upon reading the letter corresponding to the colour of the tank the program will print a message which states the contents of the tank. The program should accept the letter in either lower case or upper case.
Have the program print a message prior to ending such as “Glad to be of service”. If the user enters a colour not in the list the ending message should b
Unfortunately, your question requires more work than to be done for free. You can submit it as an assignment to our control panel set the deadline and our programmers will assist you.