Chat with us, powered by LiveChat Computer Science | Writedemy

Computer Science

Computer Science

You have just purchased a stereo system that cost $1,000 on the followingcredit plan: no down payment, an interest rate of 18% per year (and hence1.5% per month), and monthly payments of $50. The monthly payment of$50 is used to pay the interest and whatever is left is used to pay part of theremaining debt. Hence, the first month you pay 1.5% of $1,000 in interest. That is $15 in interest. So, the remaining $35 is deducted from your debt, which leaves you with a debt of $965.00. The next month you pay interestof 1.5% of $965.00, which is $14.48. Hence, you can deduct $35.52 (whichis $50 – $14.48) from the amount you owe. Write a program that will tell you how many months it will take you to pay off the loan, as well as thetotal amount of interest paid over the life of the loan. Use a loop to calculatethe amount of interest and the size of the debt after each month. (Your finalprogram need not output the monthly amount of interest paid and remain-ing debt, but you may want to write a preliminary version of the programthat does output these values.) Use a variable to count the number of loopiterations and hence the number of months until the debt is zero. You may want to use other variables as well. The last payment may be less than $50.Do not forget the interest on the last payment. If you owe $50, then your monthly payment of $50 will not pay off your debt, although it will comeclose. One month’s interest on $50 is only 75 cents.

2

The Harris–Benedict equation estimates the number of calories your bodyneeds to maintain your weight if you do no exercise. This is called yourbasal metabolic rate, or BMR. The formula for the calories needed for a woman to maintain her weight isBMR = 655 + (4.3 × weight in pounds) + (4.7 × height in inches) –(4.7 × age in years) The formula for the calories needed for a man to maintain his weight isBMR = 66 + (6.3 × weight in pounds) + (12.9 × height in inches) –(6.8 × age in years) A typical chocolate bar will contain around 230 calories. Write a programthat allows the user to input his or her weight in pounds, height ininches, age in years, and the character M for male and F for female. Theprogram should then output the number of chocolate bars that shouldbe consumed to maintain one’s weight for the appropriate sex of thespecified weight, height, and age.

Before submitting check the following:
– description completely describe the program
– description to user
– meaningful variable names (should start with lowercase letter)
– use name constants (in all caps) for literal constant values
– display amounts (if any) in currency format
– code lineup
– indentation
– comments within the program (coding part)
– submitting cpp file only

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order