Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below are some cases. LIST THE ALGORITHM, PSEUDOCODE AND FLOW CHART OF THE FOLLOWING CASES. -THE PROGRAM LANGUAGE IS JAVA - FOLLOW THE GIVEN EXAMPLE
Below are some cases. LIST THE ALGORITHM, PSEUDOCODE AND FLOW CHART OF THE FOLLOWING CASES.
-THE PROGRAM LANGUAGE IS JAVA
- FOLLOW THE GIVEN EXAMPLE BELOW
-PLEASE PROVIDE AN IMAGE FOR FLOW CHART
-INSTRUCTIONS AND REFERENCES ARE PROVIDED
Thank you
1. Create a program that asks a user to input a whole number except 0. The program should determine if the number is a negative even number or a positive even number. If the number is a negative even number, the program displays "the number is a negative even number.", otherwise, "the number is a positive even number." 2. Write a program to convert degrees Fahrenheit to degrees Celsius. The program accepts the temperature in degrees Fahrenheit and the program should be able to display the equivalent temperature in degrees Celsius. 3. Write a program that takes the length and width of a rectangular yard in yard and the length and width of a rectangular house situated in the yard which is also measured in yard. Your program should compute the time required to cut the grass at the rate of two square feet a second. 4. Create a program to find the weighted average of four test scores entered by the users. The inputs should be from 50 to 100. The program also displays the average grade. If the average grade is greater than 75 then display "you passed!", otherwise, display "you failed." 5. The Pythagorean Theorem states that the sum of the squares of the sides of a right triangle is equal to the square of the hypotenuse. For example, if two sides of a right triangle have lengths of 3 and 4, then the hypotenuse must have a length of 5. Together the integers 3,4, and 5 form the Pythagorean triple. There are an infinite number of such triples. Given two positive integers, m and n, where m>n, a Pythagorean Triple can be generated by the following formulas: Side1=m-n Side2=2mn Hypotenuse-m+n
Step by Step Solution
★★★★★
3.40 Rating (150 Votes )
There are 3 Steps involved in it
Step: 1
For the first case Algorithm 1 Ask the user to input a whole number except 0 2 Check if the number i...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