Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this in PSEUDO CODE PLEASE!! you should utilize only the following topics: Variables, Assignment, Input/Output, Selection Structures and repetition structures (i.e.

I need help with this in PSEUDO CODE PLEASE!! you should utilize only the following topics: Variables, Assignment, Input/Output, Selection Structures and repetition structures (i.e. loops).

National Debt. One thing that should worry anyone is financial debt. If youre like most others, you have credit card debt, student loans and so on. Our nation has similar debts, including debt to its citizens (e.g. bonds), debt to social programs, and debt to other nations. If youd like to see where we stand, check out https://www.usdebtclock.org/. If youd like to see how we compare to other nations, check out the World Debt Clocks in the upper-left corner.

How do these debt clocks work? Its exceptionally complicated, but a lot of national debt comes from issuing Treasure Notes (e.g a 10-year Treasury Note) that currently yield 3.6% interest. Your task is to write a program that prompts the user for a national debt (expressed in billions of dollars), the interest rate, and calculate how much debt is generated per year (assuming no debt is paid off by the GDP) over a 10-year period. For example, if a country currently has 1,000 billion (i.e. a trillion) dollars of debt, it will generate 36 billion dollars of additional debt in a year. The next year, the debt of 1036 billion would generate 37.296 billion additional dollars of debt, totaling 1073.296 dollars of debt.

Sample run 1:

Enter the starting debt in billions: $1000

Enter the interest rate: 3.6

***** Year 1 *****

Debt generated this year is $36.0

Accumulated debt from interest is now $36.0

Total debt is now $1036.0 billion dollars

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions