
Concept explainers
LAB1 PART2 REQUIREMENT JAVA
Your part 2 should be qualified to two following requirements:
Provide the java
Display messages to ask users to provide input for 3 words (string) and 2 decimal numbers (float) from the keyboard and assigned these values to variables.
Then, provide the code to display the following output. You must complete reading input before display the output.
For example, If users provide input from the keyboard:
-3 words: Hello, Good and Test
-2 numbers: 65.95 and 72.39
Then the output has eleven lines as below:
----------------------------------------------------------------------
File SU2022_PracticeWithVariables_White.java
Summer 2022 semester – McKinley White
----------------------------------------------------------------------
Word 1: Hello
Word 2: Good
Word 3: Test
First number: 65.95
Second number: 72.39
Average of 65.95 and 72.39 is: 69.17

Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 1 images

- Please help me with this. I am having trouble understanding what to do. Programming Language: HTML, CSS, JavaScript Please just draw the flowchart Thank youarrow_forwardPlease answer question. This is pertaining to Java programming language 1-21arrow_forwardPART I: Functions – Math Test Write the Flowchart and Python code for the following programming problem based on the pseudocode below. Write a program that will allow a student to enter their name and then ask them to solve 10 mathematical equations. The program should display two random numbers that are to be added, such as: 247 + 129 The program should allow the student to enter the answer. The program should then display whether the answer was right or wrong, and accumulate the correct values. After the 10 questions are asked, calculate the average correct. Then display the student name, the number correct, and the average correct in both decimal and percentage format. In addition to any system functions you may use, you might consider the following functions: A function that allows the student to enter their name. A function that gets two random numbers, anywhere from 1 to 500. A function that displays the equation and asks the user to enter their answer. A function that…arrow_forward
- In Java Language Formulate a pseudocode algorithm for each of the following: 1-- Obtain two numbers from the keyboard, compute their sum and display the result. 2-- Obtain two numbers from the keyboard, and determine and display which (if either) of the two numbers is the larger. 3-- Obtain a series of positive numbers from the keyboard and determine and display their sum. Assume that the user types the sentinel value -1 to indicate “end of data entry.”arrow_forwardPython Programmingarrow_forwardNeed help PYTHON PROGRAMMING ONLY PLEASE NUMBER 12arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY





