Sally J.

asked • 10/19/21

program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3

Write a C++ program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3, “D5” if it’s evenly divisible by 5, “D3&5” if it’s even divisible by three and five, or the number for all other cases.

1 Expert Answer

By:

Brandon T. answered • 10/27/21

Tutor
5.0 (42)

Experienced Computer Science Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.