Validation

Parade length

Write a program to help small towns estimate the length of parades, like their July 4th parade.

Parades have floats and marching bands. Each float needs 30 meters. Each band needs 50 meters.

Sample I/O:

Looping for pets

We're going to add validation loops to the tip program. It's a topic that confuses some people.

Ray
Ray

Uh oh.

Don't worry, we'll take it easy. Let's start with a simple task.