Question: You are to write a program that goes through all integers that are divisible by 3 starting with 1 5 0 and getting smaller through

You are to write a program that goes through all integers that are divisible by 3 starting with 150 and
getting smaller through 3. As you move through these integers, if the current integer is divisible by 4,
print Truman. If the current integer is divisible by 7, print Tiger. If the current integer is divisible by
both 4 and 7, print TrumanTiger. Once you have printed Truman,Tiger,TrumanTiger, or nothing,
print the integer itself followed by a space. If this is confusing, take a look at the sample output and it
will be much more clear.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!