Home Segments Index Top Previous Next

302: Practice

Write a program that accepts two numbers—a pulse rate and a body-fat percentage—and displays “The athlete appears to be in great shape,” if both the athlete's pulse rate and body fat are low.