Question: Java Programs Exercise 1 (40 pts) Write a java program that displays the result of the following formula: where X, Y are non-zero values entered

Java Programs

Java Programs Exercise 1 (40 pts) Write a java program that displaysthe result of the following formula: where X, Y are non-zero valuesentered by users. (Hint: use scanner) 3+4x 10(-5) 4. +9(- + 9+x)5 If $1 Dollar equals to 0.9 Euros Write a java programthat ask the user to enter the amount they need to convert.

Exercise 1 (40 pts) Write a java program that displays the result of the following formula: where X, Y are non-zero values entered by users. (Hint: use scanner) 3+4x 10(-5) 4. +9(- + 9+x) 5 If $1 Dollar equals to 0.9 Euros Write a java program that ask the user to enter the amount they need to convert. Then the program will ask the user to enter either 1 or 2 If the user enters 1, then you convert the values from dollars to euros If the user enters 2, then you convert the values from euros to dollars. The output of the program is a single line You entered xx.xx in Dollars/Euros based on the user and they are equals to zz.zz (Euros/Dollars) course. Write a program that predicts the score needed on a final exam to achieve a desired grade in a The program should interact with the user as follows: Enter desired grade> B Enter minimum average required> 79.5 Enter current average in course> 74.6 Enter how much the final count as a percentage of the course grade> 25 You need a score of 94.2 on the final to get B Relevant Formula Score needed = (minimum average required - (current average * (1- final percentage decimal)) / final percentage decimal Write a program that calculates the addition, subtraction, division, multiplication, and the remainder of two numbers (Integers) being entered by the user. Data Requirements Problem input X /* first number */ Y /*second number */ Problem output Sum of x and y Subtraction of x and y Division of x and y Multiplication of x and y Reminder of x and y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!