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?).

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 19PE
icon
Related questions
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

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?).
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning