Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

assignment2_updated.pdf - + Fit to page CSC 210: Introduction to Computer Programming Assignment 2 Total Points: 20 For this assignment you must do the following

image text in transcribed
image text in transcribed
assignment2_updated.pdf - + Fit to page CSC 210: Introduction to Computer Programming Assignment 2 Total Points: 20 For this assignment you must do the following tasks: Build a yearly Simple Interest Calculator: As read in 2 chapter of our class, we have now learned how to take an input, and some basic math operations. This all can be used to calculate Simple Interest: Simple interest is a quick and easy method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest rate by the principal by the number of years that elapse between payments. Simple Interest (Principal Amount x Rate of Interest x Time in years)/100 Your program should be able to do the following: . Display a message "Welcome to Simple Interest Calculator" (1 mark) Ask for User Input with below sentences: (11 marks) 1. "Enter Principal Amount in USD" 2. "Enter Rate of Interest%" 3. "Enter Time in Years" Calculate Simple Interest. (4 marks) Display the amount with message. "The Principal amount is x usd" (4 marks) Take all values in double except int for years (amount interest and time). Note: Take time in Years only (hard limit) (datatype int). Marks will be complete only if you complete the requirements respectively, please adhere to standards defined by the assignment. Submission Requirements: Submit a .zip file containing your NetBeans project. This is important as grading will be performed by a tool which only detects projects from NetBeans Any other format or way is considered Invalid and will lead to loss of marks on assignment. Extra Credit (5 Marks) - If you provide screenshots for below question. What is the output you are getting and if you get an error how will you solve it? If you provide the answer extra 5 marks will be given? int x = 10; double y = 5.0; Int z; z = x/y; System.out.println(z)

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions