Can you help me show the right program to solve for my homework using C++

1 answer

Why do you think this simple task was assigned to you? It is the thinking that is being exercised, not producing the answer.

Hump, grunt, strain, and get it done.