Question
Please complete the following programs using JAVA and include code comments in each of the four programs. PROGRAM 1 CURRENCY CONVERTER Create a currency converter
Please complete the following programs using JAVA and include code comments in each of the four programs.
PROGRAM 1 CURRENCY CONVERTER
Create a currency converter that converts the user's input into a chosen currency. Your program must support the following features:
The user can select to and from 4 different currencies
Currency rates must be stored appropriately (look up the latest exchange rate)
Allow the user to restart a new conversion without needing exit the program
PROGRAM 2 COMPOUND INTEREST
Write a program that calculates compound interest for a user specified amount of money and time period. The result should be rounded to two decimal points.
PROGRAM 3 MATH PROBLEMS Write a program that accepts 4 user input numbers and displays back to the user the following information;
The sum of the values
The average value
The minimum value
The maximum value
The square root of the minimum value
PROGRAM 4 WEATHER CONDITIONS A user wants to know whether they should go outside based on the weather conditions. Create a program that asks the user to input temperature values. Print a message back to the user based on the following weather conditions;
Below 0 degrees Celsius (Message: "It is freezing, stay inside!"
Between 0 and 5 degrees Celsius (Message: "Go outside at your own risk!)
Between 5 and 15 degrees Celsius (Message: "Not too cold but just in case make sure you take a jacket with you!")
Between 15 and 25 degrees Celsius (Message: "Its a good day to be outside!")
Between 25 and 30 (Message: Its hot outside!)
Above 30 degrees Celsius (Message: "Before you spend too much time outside remind yourself what happened when Icarus flew too close to the sun!"
Step 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