how to do this in  in C++ Language Zodiac Sign Identifier - Ask the user's birth month and birth day and return the corresponding Zodiac Sign he/she belongs: Evaluate the user's birth month and day by checking the following: If born from

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

how to do this in  in C++ Language

Zodiac Sign Identifier - Ask the user's birth month and birth day and return the corresponding Zodiac Sign he/she belongs: Evaluate the user's birth month and day by checking the following: If born from,

Mar 21 to Apr 19 - Aries

Apr 20 to May 20 - Taurus

May 21 to Jun 20 - Gemini

Jun 21 to Jul 22 - Cancer

Jul 23 to Aug 22 - Leo

Aug 23 to Sep 22 - Virgo

Sep 23 to Oct 22 - Libra

Oct 23 to Nov 21 - Scorpio

Nov 22 to Dec 21 - Sagittarius

Dec 22 to Jan 19 - Capricorn

Jan 20 to Feb 18 - Aquarius

Feb 19 to Mar 20 - Pisces

Example: What is your month of birth? 1 - January (31 days) 2 - February (27 days, if Leap Year 28 days) 3 - March (31 days) 4 - April (30 days) 5 - May (31 days) 6 - June (30 days) 7 - July (31 days) 8 - August (31 days) 9 - September (30 days) 10 - October (31 days) 11 - November (30 days) 12 - December (31 days) Please enter your birth month: 8 Please enter day of your birth: 16 Please enter your year of birth: 1997 Your birthday is every August 16 of the year. Your Zodiac Sign is Leo. Coding Requirements: 1. Minimum of five (5) functions for Zodiac Sign Identifier Option. 2. Create a function that will request the user's birth month and birth day. Use Passing Arguments by Reference. 3. Create a function that will check if provided month is acceptable. The function must return true or false. 4. Create a function that will check if provided day is acceptable for a specific month. The function must return true or false. 5. Create a function that shall identify the user's zodiac sign. The function must return a string containing the user's zodiac sign

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education