The program is an illustration of a sequential structure
Sequential control structures are programs that do not require loops and conditional statements
The program in C++ where comments are used to explain each line, is as follows:
#include <iostream>
using namespace std;
int main(){
//This declares the variables
int userNum1, userNum2;
//This prompts the user for input
cout<<"Enter integer: \n";
//This gets the input from the user
cin>>userNum1;
//This prints the number entered by the user
cout<<"You entered: "<<userNum1<<'\n';
//This prints the square of the number
cout<<"And "<<userNum1<<" squared is "<<userNum1 * userNum1<<'\n';
//This prints the cube of the number
cout<<userNum1<<" cubed is "<<userNum1 * userNum1 * userNum1<<"!!\n";
//This prompts the user for another input
cout<<"Enter another integer:\n";
//This gets the input from the user
cin>>userNum2;
//This prints the sum of both numbers
cout<<userNum1<<" + "<<userNum2<<" is "<<userNum1 + userNum2<<'\n';
//This prints the product of both numbers
cout<<userNum1<<" * "<<userNum2<<" is "<<userNum1 * userNum2;
return 0;
}
Read more about similar programs at:
https://brainly.com/question/24833629