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

Exercises 8. Gabrielle receives 52 paychecks each year. She always deposits a sp

ID: 3597863 • Letter: E

Question

Exercises 8. Gabrielle receives 52 paychecks each year. She always deposits a specific percentage of her gross pay into her savings account. She also receives a bonus check, which is always more than $250, at the end of the year. She always deposits $150 of her bonus into her savings account. Gabrielle wants a program that calculates and displays the total amount she deposited during the year. Complete an IPO chart for this problem. Desk-check the algorithm twice, using your own sets of data. After desk-checking the algorithm, list the input, processing, and output items in a chart similar to the one shown in Figure 3-25, and then enter the appropriate C++ declaration statements 9. Cranston Berries sells three types of berries: strawberries, blueberries, and raspberries. Sales have been booming this year and are expected to increase next year. The sales manager wants a program that allows him to enter the projected increase (expressed as 8 then enter the appropriate C++ declaration statements. a decimal number) in berry sales for the folowing year. He will also enter the current year's sales for each type of berry. The in. i should display the projected sales for each berry type. Complete an IPO chars ket thus problem. Desk-check the algorithm twice, using your own sets of data. Aiter desk -checking the algorithm, list the input, processing, and output items in a chart similar to the one shown in Figure 3-25, and m that calculates and displays the number of miles per gallon he

Explanation / Answer

Below is the program IPO chart that exaplain the behaviour of the program and after that the complete program.if any doubt please reply.

C++ Program

#include<iostream>

using namespace std;
int main()
{

int salary=52;
float savingfromsalary;
int bonus=250;
float savingfronbonus=150;
float totalsaving;
cout<<"Enter percentage saving from salary";
cin>>savingfromsalary;

totalsaving=(52-(52*savingfromsalary)/100)+savingfronbonus;

cout<<"Total Earning is:"<<"$"<<salary+bonus<<endl;

cout<<"Total saving is:"<<"$"<<totalsaving;
}

Check Desk Line Number Input Processing Output 1 2 3 Salary 52 totalsaving 9 saving%from salary if 25% 189(bonus saving include) bonus if20% 191.6 saving%from bonus if 15% 194.2
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote