Below are some cases. LIST THE ALGORITHM, PSEUDOCODE AND FLOW CHART OF THE FOLLOWING CASES. -THE PROGRAM
Fantastic news! We've Found the answer you've been seeking!
Question:
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
Transcribed Image Text:
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² 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²
Expert Answer:
Answer rating: 100% (QA)
Conversation with Gemini expandmoreedit 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 PROV... View the full answer
Related Book For
Computer Architecture Fundamentals And Principles Of Computer Design
ISBN: 9781032097336
2nd Edition
Authors: Joseph D. Dumas II
Posted Date:
Students also viewed these programming questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
answer the question clearly You are building a flight-control system for which a convincing safety case must be made. Would you assign the tasks of safety requirements engineering, test case...
-
A trader depreciates his vehicles at 40% per annum using the reducing balance method, with proportionate depreciation in the year of acquisition. In addition to vehicles acquired on 1 July 2010 for...
-
Pearl, Inc., develops and markets computer software. During 2016, one of Pearl's engineers began developing a new and very innovative software product. On July 1, 2017, a team of Pearl engineers...
-
When customers of Henniker Bank believe a mistake has been made on their account statements, their claims are forwarded to the banks research department, whose trained clerks carefully research and...
-
A researcher wanted to determine if carpeted or uncarpeted rooms contain more bacteria. The table shows the number of bacteria per cubic foot for random samples of both types of rooms. Test whether...
-
The stockholders equity section of The Seventies Shop is presented here. THE SEVENTIES SHOP Balance Sheet (partial) ($ in thousands) Stockholders equity: Preferred stock, $50 par value ........ $ 0...
-
How do cytokines modulate immune cell communication and signaling pathways, influencing the delicate balance between immune activation and regulation ?
-
Complete Tsate's Form 1040-SR, Schedules A, B and D, Form 8949, Form 6252 and Qualified Dividends and Capital Gain Tax Worksheet. Tsate Kongia (birthdate 02/14/1954) is an unmarried high school...
-
Naomi Grace owns a beach house on Cape Cod. She and her family use the home during the summer for one month (28 days). The rest of the summer and into the fall it is rented out for a total of 90...
-
what is the equation to represent the total cost? Units Cost High Activity Level 11,000 $14,800 Low Activity Level 7,000 $11,300 Change 4,000 $3,500 Unit Variable cost 0.875 Fixed cost 5175
-
John and Kent share profits and losses of 60% and 40%, respectively. The tax basis of each partner's interest in the partnership as of December 31, Year 1, was as follows: John $24,000 Kent 18,000...
-
Suppose that consumers' disposable income increased by $341 billion and their spending increased by $299 billion.What was the MPC? Suppose the government increases spending on education by $30...
-
These are the instructions for the homework assignment. 1.Evaluate the reasonableness of a suspicion of fraud2.Create a preliminary fraud hypothesis3.Test and refine the fraud hypothesis through...
-
Find the error for the proposed solution. Then correct the proposed solution. 8x+1.5=3x+0.6 5x=0.9 (5x)/(5)=(0.9)/(5) x=0.18
-
Q1: Describe the importance of Tachometry and trigonometrical leveling in Civil engineering projects. .
-
How can a promoter avoid personal liability for pre-incorporation contracts?
-
Suppose a USB data packet being transmitted at Full Speed consists of a sync pattern that lasts 8 bit times, an 8-bit PID, 1024 bytes of data, and 16 bits of CRC information. What is the minimum time...
-
Give an example of how dataflow techniques have influenced and/ or been used in conventional computer design.
-
Why does a hard disk that rotates at higher RPM generally outperform one that rotates at lower RPM? Under what circumstances might this not be the case?
-
If you let go of a helium balloon, it quickly rises. As it rises, the balloon gets larger and larger until it pops. Why does the balloon expand as it rises?
-
Freshwater fish tend to have larger swim bladders than saltwater fish. Explain why you would expect this to be true.
-
Early airshipscraft that relied on large volumes of low density gas to rise from the groundwere filled with hydrogen, but safety concerns necessitated a switch to helium. When an airship made the...
Study smarter with the SolutionInn App