Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE JAVA PLEASE 2. The program then asks users favorite color: If the color is green, then it prints out Color of the Nature! Else

image text in transcribed

USE JAVA PLEASE

2. The program then asks users favorite color: If the color is green, then it prints out "Color of the Nature!" Else if it is blue, then it prints out "Color of the Sky!" Else if it is yellow, then it prints out "Color of the Sun!" Else if it is red, then it prints out "Color of the Rose" Else if it is orange, then it prints out "Color of the Tiger!" Else if it is pink, then it prints out "Color of the Spring!" Else if it is grey, then it prints out "Color of the Brain!" If the color is not listed there, then the program asks it to select another color. This request will be repeated until the user inserts a valid color

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

List three workplace health issues and how employers are

Answered: 1 week ago