
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Java
I want to build a program based on how the user is feeling as if I were to meet them in person.
Ask for name. Hey, name. Nice to meet you." Name, How are you feeling?" "So, your feeling [emotion]?" "Well, name let's get rid of your [emotion]...(I give instructions)." Then "Goodbye."
Then ask are they feeling one of 8 emotions. Then output would prompt instructions on how to release that emotion.
The 8 basic emotions are joy-sadness, anger-fear, trust-distrust, surprise-anticipation

Transcribed Image Text:Write a Java program that uses most everything you've learned in this course. Be creative. It will need to get
user input and produce output. Make sure it compiles and runs before submitting it. You will be presenting
your program to the class on the day of final exams.
Section 1: April 28 @ 8:00am – 10:00am
Section 2: April 30 @ 8:00am – 10:00 am
Requirements:
• You will need to get user input.
• Use the following at least once:
o if statement
o while loop
o for loop
o A nested loop or if statement
o A switch
Use at least 3 different primitive datatypes.
Use at least 1 String and 1 String method.
• Create some sort of calculation.
• Create at least 1 method for any calculations or transformations that you do.
(This might be a good place to use a switch, loop or if statement and/or a
calculation). If it makes sense to do more than 1 method, do it.
Be creative. If you don't know what to do, pick a subject you like and turn it into a quiz for a user.
(i.e. What does your car say about you?).
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Java Programmingarrow_forwardFor Beginning Java: Part 1 Write a program to create a customer's bill for a company. The company sells only five different products: TV, VCR, Remote Controller, CD Player and Tape Recorder. The unit prices are $400.00, $220, $35.20, $300.00 and $150.00 respectively. The program must read the quantity of each piece of equipment purchased from the keyboard. It then, calculates the cost of each item, the subtotal and the total cost after an 8.25% sales tax. The input data consists of a set of integers representing the quantities of each item sold. These integers must be input into the program in a user- friendly way; that is, the program must prompt the user for each quantity as shown below - How many TV's were sold? 3 How many VCR's were sold? 5 How many remote controller's were sold? 1 How many CD's were sold? 2 How many Tape Recorder's were sold? 4 The output of the program should print the following data properly formatted: QTY DESCRIPTION UNIT PRICE TOTAL PRICE…arrow_forwardInput an integer from the keyboard (positive or negative) and then loop 5 times, each time multiplying the result by 2. After the loop output the result. For example, if the input was 3 the output will be 96. (because after the first time through the loop it would be 6, then 12, then 24, then 48, then 96) In javaarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education