Fill in Order Details

  • Submit paper details for free using our simple order form

Make Payment Securely

  • Add funds to your account. There are no upfront payments. The writer will only be paid once you have approved your paper

Writing Process

  • The best qualified expert writer is assigned to work on your order
  • Your paper is written to standard and delivered as per your instructions

Download your paper

  • Download the completed paper from your online account or your email
  • You can request a plagiarism and quality report along with your paper

astronomy project 1

ANSWER HAVE TO BE AS PER REQUIREMENTS.

NO COPIED PLEASE.

Project Description

In the real world, you are most likely going to edit existing code than to start everything anew in your job. In this project, you are going to edit the given astrology program.

Recently there are talks about a new zodiac sign Ophiuchus (of water element). Your boss would like you to edit your company’s astrology program to accommodate the addition.

And while you are at it, she wants you to also make sure to allow users to re-input the birth dates if they made a mistake.

Original Astrology Program

Currently the user is asked to type in data for two people: name, birth month and day. And the program responds with the signs, and if the birthday is only one or two days away from an adjacent sign, the program announces that the birthday is on a “cusp”. And then the program will tell the user whether these two people are compatible based on their sign elements.

The 12 horoscope signs and dates are the following, which the original astrology program is based on:
Aries March 21–April 19 (day 81 – 110)
Taurus April 20–May 20 (day 111 – 141)
Gemini May 21–June 21 (day 142 – 173)
Cancer June 22–July 22 (day 174 – 204)
Leo July 23–August 22 (day 205 – 235)
Virgo August 23–September 22 (day 236 – 266)
Libra September 23–October 22 (day 267 – 296)
Scorpio October 23–November 21 (day 297 – 326)
Sagittarius November 22–December 21 (day 327 – 356)
Capricorn December 22–January 19 (day 357 – 19)
Aquarius January 20–February 18 (day 20 – 49)
Pisces February 19–March 20 (day 50 – 80)

A Cusp and a Sign is Only 2 Days Away

Let’s look at an example based on the original program:

Pisces February 19–March 20 (day 50 – 80)

Aries March 21–April 19 (day 81 – 110)

Ken & Amy

Enter your name: Ken_x000D_
Enter your birthday (month day): 3 23_x000D_
Enter your friend's name: Amy_x000D_
Enter his/her birthday (month day): 3 22_x000D_
Ken is a ARIES. _x000D_
Amy is a ARIES. He/she is also a cusp of PISCES. _x000D_
Ken is compatible with Amy.

Mark & Jane:

Enter your name: Mark_x000D_
Enter your birthday (month day): 3 18_x000D_
Enter your friend's name: Jane_x000D_
Enter his/her birthday (month day): 3 19_x000D_
Mark is a PISCES. _x000D_
Jane is a PISCES. He/she is also a cusp of ARIES. _x000D_
Mark is compatible with Jane.

What is the Element of a Sign

Horoscope Signs of the same Element are most compatible. There are 4
Elements in astrology, and 3 Signs in each: FIRE (Aries, Leo, Sagittarius),
EARTH (Taurus, Virgo, Capricorn), AIR (Gemini, Libra, Aquarius) , WATER (Cancer, Scorpio, Pisces).

Given Program Files

These are the program files for the original program:

main.cpp

horoscope.h

horoscope.cpp

Your Boss’s Requirements

  1. Edit the program to work for the 13-sign system, and assume the new Ophiuchus sign is of Water element. Here are the new dates:
    1. Capricorn January 21 – February 16 (day 21 – 47)
    2. Aquarius February 17 – March 11 (day 48 – 71)
    3. Pisces March 12 – April 18 (day 72- 109)
    4. Aires April 19 – May 13 (day 110 – 134)
    5. Taurus May 14 – June 21 (day 135 – 173)
    6. Gemini June 22 – July 20 (day 174 – 202)
    7. Cancer July 21 – August 10 (day 203 – 223)
    8. Leo August 11 – September 16 (224 – 260)
    9. Virgo September 17 – October 30 (day 261 – 304)
    10. Libra October 30 – November 23 (day 305 – 328)
    11. Scorpio November 24 – November 29 (day 329 – 334)
    12. Ophiuchus November 30 – December 17 (day 335 – 352)
    13. Sagittarius December 18 – January 20 (day 353 – 20)
  2. Implement error checking for birth month/day input. Allow users to reenter if they made a mistake.
  3. Impeccable programming style and comments.
  4. Answer all questions in the Problems Encountered section.

What to Submit

Submit for this lab all your program files in .h and .cpp.

Tips

  1. Run the original program to make sure it works first.
  2. Test all the boundary cases (where the signs change and at cusp) as well as regular cases.
  3. Test when user enter invalid dates, such as “20” or “abc” for month.

Demo of Program

Enter your name: Ken

Enter your birthday (month day): 11 23

Enter your friend’s name: Amy

Enter his/her birthday (month day): 11 28

Ken is a SCORPIO. He/she is also a cusp of LIBRA.

Amy is a SCORPIO. He/she is also a cusp of OPHIUCHUS.

Ken is compatible with Amy.

Problems Encountered

In the end of your main.cpp file, add a blocked comment section as follows and fill it out:

/* ==========================================================_x000D_
_x000D_
Q1. Problems I had working on this assignment (and how I overcame these problems)_x000D_
1._x000D_
2._x000D_
Q2. Did you find any problems in the original program?_x000D_
========================================================== */

WHAT OUR CURRENT CUSTOMERS SAY

  • Google
  • Sitejabber
  • Trustpilot
Zahraa S
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!
Mindi D
Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.
Samuel Y
Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.
Cindy L
Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!

ORDER NOW


Consider Your Assignments Done

“All my friends and I are getting help from eliteacademicresearch. It’s every college student’s best kept secret!”

Jermaine Byrant
BSN

“I was apprehensive at first. But I must say it was a great experience and well worth the price. I got an A!”

Nicole Johnson
Finance & Economics

Our Top Experts

See Why Our Clients Hire Us Again And Again!


OVER

10.3k
Reviews

RATING
4.89/5
Average

YEARS
13
Mastery

Success Guarantee

When you order form the best, some of your greatest problems as a student are solved!

Reliable

Professional

Affordable

Quick

Using this writing service is legal and is not prohibited by any law, university or college policies. Services of Elite Academic Research are provided for research and study purposes only with the intent to help students improve their writing and academic experience. We do not condone or encourage cheating, academic dishonesty, or any form of plagiarism. Our original, plagiarism-free, zero-AI expert samples should only be used as references. It is your responsibility to cite any outside sources appropriately. This service will be useful for students looking for quick, reliable, and efficient online class-help on a variety of topics.