Question

Draw flowchart AND write pseudo code for each of the following problems. 1. User asks you...

Draw flowchart AND write pseudo code for each of the following problems.

1. User asks you to develop a program that calculates and then prints interest earned on a bank balance. Program should print interest earned for the same balance when interest is accumulated annually, semiannually and quarterly.

Interest earned yearly=balance * rate /100 for annual Interest earned semiannually =balance*rate/2/100 for semi annual Interest earned quarterly= balance*rate/4/100 for quarterly

Homework Answers

Answer #1

FLOWCHART

OUTPUT

PSEUDOCODE

PROGRAM INPLEMENTATION USING C++

#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
   //declare the variables
   double balance,year,semiyear,quarter,rate;
   //input the balance
   cout<<endl<<"Enter the balance";
   cin>>balance;
   //input the rate of interest
   cout<<endl<<"Enter the rate of interest";
   cin>>rate;
   //compute the yearly interest
   year = balance *rate/100;
   //compute the semiyearly interest
   semiyear = balance * rate/2/100;
   //compute the quarterly interest
   quarter = balance * rate/4/100;
   //display the details
   cout<<endl<<"Balance : $"<<fixed<<setprecision(2)<<balance;
   cout<<endl<<"Yearly Interest : $"<<fixed<<setprecision(2)<<year;
   cout<<endl<<"Semiyearly Interest : $"<<fixed<<setprecision(2)<<semiyear;
   cout<<endl<<"Quarterly Interest : $"<<fixed<<setprecision(2)<<quarter;
}

OUTPUT

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Draw flowchart AND write pseudo code User asks you to design a program that calculates the...
Draw flowchart AND write pseudo code User asks you to design a program that calculates the price of an item including sales tax. The program should print the total.
Draw flowchart AND write pseudo code User asks you to develop a program to calculate and...
Draw flowchart AND write pseudo code User asks you to develop a program to calculate and print weekly payroll. Calculations must take into account the following: User input ? a. Income tax rate is rate is 15% (.15*salary) b. Social Security tax is 7.65% (.0765*salary) c. Display salary, income tax, social security tax, and net pay net pay=salary-income tax – social security tax
Draw flowchart AND write pseudo code Boeing 747 uses fuel at the rate of 4,776 gallons...
Draw flowchart AND write pseudo code Boeing 747 uses fuel at the rate of 4,776 gallons per hour at cruising speed and 2600 gallons for takeoff and 1500 gallons for landing. Calculate the fuel needed for a trip. User will input the trip length in hours.
Draw flowchart AND write pseudo code You decide to write a program that figures how many...
Draw flowchart AND write pseudo code You decide to write a program that figures how many gallons of gas you will need to take a road trip. The printout should contain the total amount of miles for the trip, the miles per gallon for your vehicle, and the total gallons needed for the trip.
1. For the next 6 years, you pan to make equal quarterly deposits of $600.00 into...
1. For the next 6 years, you pan to make equal quarterly deposits of $600.00 into an account paying 8% compounded quarterly. How much will be the total you have at the end of the time? 2. How much money will you have to deposit now if you wish to have $5,000 at the end of 8 years. Interest is to be at the rate of 6% compounded semiannually? 3. In the California “Million Dollar Lottery” a winner is paid...
1. John invested $20,000 fifteen years ago with an insurance company that has paid him 8...
1. John invested $20,000 fifteen years ago with an insurance company that has paid him 8 percent (APR), compounded quarterly (every 3 months). How much interest did John earn over the 15 years? a. $2,416.08 b. $45,620.62 c. $24,000.00 d. $28,318.95 e. $65,620.62 2. You are running short of cash and really need to pay your tuition. A friend suggests that you check out the local title pawn shop. At the shop they offer to loan you $5,000 if you...
After reading the following article, how would you summarize it? What conclusions can be made about...
After reading the following article, how would you summarize it? What conclusions can be made about Amazon? Case 12: Amazon.com Inc.: Retailing Giant to High-Tech Player? (Internet Companies) Overview Founded by Jeff Bezos, online giant Amazon.com, Inc. (Amazon), was incorporated in the state of Washington in July 1994, and sold its first book in July 1995. In May 1997, Amazon (AMZN) completed its initial public offering and its common stock was listed on the NASDAQ Global Select Market. Amazon quickly...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT