Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program 3: Zodiac ID: ID003 Make sure you include this ID as a System.out.println() message at the beginning of your program. This helps us with

Program 3: Zodiac

ID: ID003

Make sure you include this ID as a System.out.println() message at the beginning of your program. This helps us with grading, and is required.

Before starting this project, make sure to completely read through the instructions first, draw the flowchart, and then write the pseudocode in the header comments. Both will be graded, and flowcharts will be taken up at the beginning of our next Lab.

Write a program with the class name ZodiacSigns. The program should have the user input their birth month and birth day. Then, display their Zodiac Sign (Aries, Taurus, etc.), as well as one additional fact about that particular sign.

For the second part, have a randomly generated month and day. Display the Zodiac Sign of this random date.

Submit these programs to the Post Lab Program Submission area under the Week 4 Module. Upload just the JAVA class file. Make sure you have proper documentation (header comments and inline comments). Both flowcharts will be taken up at the beginning of next Lab.

Below is the input and the output we expect from your program. This is to help you know if you are on the right track.

Example input :

5

10

Example output:

ID003

Enter the month you were born: [integer]

Enter the day you were born: [integer]

Your Zodiac Sign is Taurus! Tauruss are well known to break many of the ethical codes of dentistry. Watch out!

Generating random month and day: 6 2 [random output]

Your Zodiac Sign is Gemini! Geminis have a crippling fear of snails that move too fast

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