Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please for each include the sample Screen Capture the program execution (sample

ID: 3758100 • Letter: P

Question

Please for each include the sample  Screen Capture the program execution (sample run window) .

A-Insurance Program

Write a program that asks for the user's age in years. If the user is under 35, the program will quote (output) an insurance rate of " 2.23 per hundred"; otherwise the rate will be "4.32 per hundred".) Note: No computation is required here, only the appropriate rate quote needs to be printed.

(Remember that if-else statements require program sample output to test each branch of the if-else statement so you will need to screen capture an output screen for each condition)

B-Grades Program

Write a C++ program that inputs a student's exam score and outputs a letter grade based on that score. You must use a "nested" if-else construction.

Here are the criteria:

If the score is greater than or equal to 90, print an "A". If it is greater than or equal to 80, print "B". If it is greater than or equal to 70, print "C". If it is greater than or equal to 60, print "D". Otherwise, print "F".

Please make your program user-friendly and format the output for easy readability.

(Remember that if-else statements require program sample output to test each branch of the if-else statements.)

C-Square (Perimeter and Area Computation)

Write a C++ program that will allow the user toinput a side of a square and compute andoutput the square's perimeter and area. Please make your program user-friendly and format the output for easy readability. (If you don't know the formula to compute the area and perimeter of a square, Google it and find out ! )

Explanation / Answer

#include<iostream>

using namespace std;

int main()

{

int age;

  

cout << "Input the age of the user : ";

cin >> age;

  

if(age<35)

cout << " 2.23 per hundred" << endl;

else

cout << "4.32 per hundred"<< endl;

  

  

int score;

  

cout << "Input a score : ";

cin >> score;

  

if(score>=90)

cout << "Grade is : A" << endl;

else if(score>=80)

cout << "Grade is : B" << endl;

else if(score >=70)

cout << "Grade is : C" << endl;

else if(score>=60)

cout << "Grade is : D" << endl;

else

cout << "Grade is : F" << endl;

  

int side;

  

cout << "Input the side of the square : ";

cin >> side;

  

cout << "Perimeter is : " << 4*side << endl;

cout << "Area is : " << side*side << endl;

  

return 0;

}

OP:

Input the age of the user : 36

4.32 per hundred

Input a score : 79

Grade is : C

Input the side of the square : 10

Perimeter is : 40

Area is : 100