Visit www.myprogramminglab.com to complete select exercises online and get instant feedback.
Exercise
A simple rule to estimate your ideal body weight is to allow 110 pounds for the first 5 feet of height and 5 pounds for each additional inch. Create the following text in a text file. It contains the names and heights in feet and inches of Tom Atto (6’3”), Eaton Wright (5’5”), and Cary Oki (5’11”):
Tom Atto63Taton Wright35Tary Oki511
Write a program that reads the data in the file and outputs the full name and ideal body weight for each person. In the next chapter, you will learn about loops, which allow for a more efficient way to solve this problem.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.