I'm learning java programming, please I want to send me the answer . Thank you
Draw the flowcharts and pseudocode that express the algorithms for solving the following problems: 1. Read in a single number A. Then, check if A is odd, print out 'ODD number', otherwise print out 'EVEN number'. 2. Calculate and display the two roots of a quadratic equation ax + bx + c = 0. The relevant formulas to obtain the two roots (r/ and r2) are: r1 = =b+ vb2 -4ac 2a and 12 = -b- vb2 -4ac 2a 62 - 4ac is called the discriminant of the quadratic equation. If it is positive, prints out the two roots r/ and r2. If it is zero, prints out one rootrl or r2. If it is negative, prints out 'the equation has no real roots'. 3. Convert a temperature in Fahrenheit degree to Celsius using the formula: celsius = ()(fahrenheit - 32) 4. Read in three numbers A, B, and C. Then, check and print out the largest of the three numbers. 5. Calculate the final grade of a student and indicate whether the student passes or fails the course. The final grade is calculated as the average of four marks. 6. Read in ten final grades of students in a certain course and calculate the number of students passed and failed the course. If the passing percentage is greater than 80, your program should print out the following message: 'raise the tuition fees'. 7. Determine the bonus payment of an employee. The bonus payment is calculated as follows: Bonus Schedule OVERTIME - (2/3) x ABSENT Bonus Paid > 40 hours $50 > 30 but $ 40 hours $40 > 20 but < 30 hours $30 > 10 but S 20 hours $20 < 10 hours $10
Draw the ﬂowcharts and pseuducode that express the algorithms for solving the following problems: 1. Convert the distance in miles to kilometers where 1.609 kilometers per mile. 2. Calculate and display the area of a circle where area= pi x radius >< radius. 3. Compute and display the temperature inside the earth in Celsius and Fahrenheit. i. Celsius= 10 X (depth) + 20 ii. Fahrenheit= 1.8 X (Celsius) + 32 4. Calculate and display the number of gallons of gas needed for a car hip and the estimated cost of thatlrip according to the distance of a trip in miles, the estimated miles per gallon of the car, and the average costof a gallon of gas. i. gallonsOfG as = distance i milesPerGollan ii. estimatedCost = gasCost X gallonsOfGas 5. Compute and display the sum, average, and product of three numbers (A, B, and C) given by the user. 6. Find and print out the largest number between two numbers (A and B} given by the user. If both numbers are equal, print out Equal' 7. Calculate and print out the sum of numbers between I and N niclusive. 8. Calculate and print out the area of a rectangle that its length and width (L and W') are given by the user. If L and W are equal, prints out 'rheﬁgure is a square'.
211,601 students got unstuck by Course
Hero in the last week
Our Expert Tutors provide step by step solutions to help you excel in your courses