Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribed

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 presentation

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

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago