Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write in Console Application in C# Simple interest can be calculated using the formula I P*r* t, where I is the total interest over time,
Write in Console Application in C#
Simple interest can be calculated using the formula I P*r* t, where I is the total interest over time, P is principal in dollars, r is interest rate in decimal form, and t is time in years. Your program should prompt the use to enter a principle value, an interest rate, and a time period in years, then calculate and display the total interest amount. You can check your work using this online calculator: https://www.calculatorsoup.com/calculators/financial/simple-interest-plus-principal-calculator.php NOTES: 1.) If the entered interest rate is less than 0.5, assume the user entered the percentage in decimal form. Otherwise, assume the user entered the percent in percent form, and convert to decimal form by dividing by 100 Example: 32%-0.32 in decimal form. 2.) All currency outputs should be formatted propertly (S and 2 decimal places) 3.) You do NOT have to protect your prompts against bad input values, but you should if you remember how. 4.) Your program's output should have proper spelling, be nicely formatted, clean presentationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started