Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Old MathJax webview The color of your eyes might reveal much more about your soul than you think. An eye color could be Black or

Old MathJax webview

The color of your eyes might reveal much more about your soul than you think. An eye color could be Black or Brown (represented by B or b), Green (G or g) or Blue (U or u). Write a program that asks the user to enter a character that represents his/her eye color, then displays one of the below messages on the screen: Eye Color Message to display B or b your Soul is warm and open G or g your soul knows what it wants U or u your soul is wise Otherwise your soul is filled with curiosity If the character entered is not B,b, G,g or U,u, the following message is displayed on the screen: ,write it in java your soul is filled with curiosity Sample Run1: Enter your eye color: G Your soul knows what it wants Sample Run2: Enter your eye color: u Your soul is wise Sample Run3: Enter your eye color: H Your soul is filled with curiosity

The color of your eyes might reveal much more about your soul than you think. An eye color could be Black or Brown (represented by B or b), Green (G or g) or Blue (U or u). Write a program that asks the user to enter a character that represents his/her eye color, then displays one of the below messages on the screen: Eye Color Message to display B or b your Soul is warm and open G or g your soul knows what it wants U or u your soul is wise Otherwise your soul is filled with curiosity If the character entered is not B,b, G,g or U,u, the following message is displayed on the screen: your soul is filled with curiosity

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions