Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

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

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

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago