very good very good
very good very good
#include<iostream> using namespace std; int main() { int a = 0; int date,month; start: cout << "\n\n\n\t\t" " This Program will determine your Zodiac Sign." " \n\n\n\n\t\t " " Input Your Birth Month No.: "; cin >> month; cout << " \n\t\t " " Input Your Birth Date: "; cin >> date; if (month == 3 && date >= 21 || month == 4 && date <= 20) { cout<<"\n\n\n\t\t Your Zodiac Sign is Aries! "; cout<<endl; } else if (month == 4 && date >= 21 || month == 5 && date <= 21) { cout<<"\n\n\n\t\t Your Zodiac sign is Taurus"; cout<<endl; } else if (month == 5 && date >= 22 || month == 6 && date <= 22) { cout<<"\n\n\n\t\t Your Zodiac sign is Gemini"; cout<<endl; } else if (month == 6 && date >= 23 || month == 7 && date <= 23) { cout<<"\n\n\n\t\t Your Zodiac is Cancer"; cout<<endl; } else if (month == 7 && date >= 24 || month == 8 && date <= 23) { cout<<"\n\n\n\t\t Your Zodiac sign is Leo"; cout<<endl; } else if (month == 8 && date >= 24 || month == 9 && date <= 23) { cout<<"\n\n\n\t\t Your Zodiac sign is Virgo"; cout<<endl; } else if (month == 9 && date >= 24 || month == 10 && date <= 23) { cout<<"\n\n\n\t\t Your Zodiac sign is Libra"; cout<<endl; } else if (month == 10 && date >= 24 || month == 11 && date <= 22) { cout<<"\n\n\n\t\t Your Zodiac sign is Scorpio"; cout<<endl; } else if (month == 11 && date >= 24 || month == 12 && date <= 21) { cout<<"\n\n\n\t\t Your Zodiac sign is Saguittarius"; cout<<endl; } else if (month == 12 && date >= 22 || month == 1 && date <= 20) { cout<<"\n\n\n\t\t Your Zodiac sign is Capricorn"; cout<<endl; } else if (month == 1 && date >= 21 || month == 2 && date <= 19) { cout<<"\n\n\n\t\t Your Zodiac sign is Aquarius"; cout<<endl; } else if (month == 2 && date >= 20 || month == 3 && date <= 20) { cout<<"\n\n\n\t\t Your Zodiac sign is Pieces"; cout<<endl; } else { cout << "\n\t\t\t Incorrect Input!! Try Again! "; goto start; } cout << " \n\n \t\t To Try Again Press 1, or Press 2 to Quit "; cin >> a; if (a==1) goto start; if (a==2) { cout << "\n"; } return 0; }
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
very good very good