Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a C# program that will let the user enter his birthday. (Use any method you think is best.) If the user enters a valid

Create a C# program that will let the user enter his birthday. (Use any method you think is best.)

If the user enters a valid date (use any method you want to verify that the date is valid) display the following information:

The day of the week he was born on.

His Chinese year (dragon, boar, etc.) and an appropriate picture. (This is an array problem using the year mod 12) If the year mod 12 is 0 then the animal is monkey 1 rooster 2 dog 3 pig 4 rat 5 ox 6 tiger 7 rabbit 8 dragon 9 snake 10 horse 11 sheep

His zodiac sign (Aquarius, etc. ) and a picture. This can also be an array problem, but more complicated because you must search for the date to be within a range. This will be easier if you combine the month and day into one number using month*100+day. Then Aquarius is anywhere between 121 and 219. Dim bounds() As Integer = {0, 121, 220, 321, 421, 522, 622, 723, 822, 924, 1024, 1123, 1223, 1300}

Aquarius - January 21 - February 19 Pisces - February 20- March 20 Aries - March 21 - April 20 Taurus - April 21 - May 21 Gemini- May 22 - June 21 Cancer - June 22 - July 22 Leo - July 23 -August 21 Virgo - August 22 - September 23 Libra - September 24 - October 23 Scorpio - October 24 - November 22 Sagittarius - November 23 - December 22 Capricorn - December 23 - January 20

If the date is not valid, use a message box to tell the user the problem.

Use Google to find information about the Chinese years and the zodiac signs and to find pictures.

Aside from using arrays this project is important because it is complex enough that you must write it one step at a time. Or use these pictures

You can start with any step you understand, but this is an example.

Create an array of the Chinese zodaic signs.

Use a text box to put in a year and print the sign.

Add a picture of the animal.

Add each additional step in the same way.

This is a fun and interesting project that combines some of the skills you have learned. It is not important whether you believe in Astrology or not.

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

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago