C+ program

by | Jul 27, 2021 | Homework Help

I need a C+ program that utilizes and meets the following criteria: Asks a user for a number. Uses an “if” statement to determine if the number is greater than one. If the number is not greater than one, you must write out an error message.If the number is greater than 1, the program calculates the square and cube of the number, and displays the output to the user.

Here is what the program looks like when it’s executed with a number less than 1 and with a number greater than 1: Here is my code so far, it NEEDS to print the number you started with and the desired result.

Plagiarism-free and delivered on time!

We are passionate about delivering quality essays.

Our writers know how to write on any topic and subject area while meeting all of your specific requirements.

Unlike most other services, we will do a free revision if you need us to make corrections even after delivery.