zodiac sign calculations



I want to write a program that asks the user to enter his date of birth and print the zodiac sign on the screen. The program should allow the user to enter his date of birth in the MM/DD/YYYY format. The program should also print the user's age on the console. The age format should be : You are 26 years, 4 months and 7 days old.
I must use if, else and/or Switch statements ONLY.
Any help will be highly appreciated.

Thanks in advance.


Related to : zodiac sign calculations
Calculating Zodiac Sign using DoB
C & C++ & C#

Does anyone know a source code for calculating Zodiac Sign using a given DoB

Thanks


Calculating Zodiac Sign using DoB !
C & C++ & C#

Does anyone know or have a source code for calculating Zodiac or Star sign using a given date of Birth

Thanks in Advance


Determine your zodiac sign
C & C++ & C#

Fill in your birthday in the DateTime structure and get your sign as a string.
Get an extra (an element associated whith the sign) via the out parameter thanks to C#!
This switch statement uses returns all over the place, so a break staement is not needed.


Zodiac sign
C & C++ & C#

I'm having difficulty writing a program that would accept an input for your birthday (month, year) and tell you your zodiac sign. I having difficulty with the syntax in VB.Net because our instructor assinged us a language to create our case study and he gave VB.Net to me... I have to study the language from scratch... I can't seem to find ebooks on the net...

Another case study i'm having difficulty with is how to write a program (using for loops) that would output the following:
*
**
***
****
*****

1
12
123
1234
12345

Thanks in advance for any help!


zodiac sign calculations
C & C++ & C#

I want to write a program that asks the user to enter his date of birth and print the zodiac sign on the screen. The program should allow the user to enter his date of birth in the MM/DD/YYYY format. The program should also print the user's age on the console. The age format should be : You are 26 years, 4 months and 7 days old.
I must use if, else and/or Switch statements ONLY.
Any help will be highly appreciated.

Thanks in advance.


Zodiac Sign: Compare element
C & C++ & C#

Using Borland C++ 3.0

Here's my code:

#include<iostream.h>#include<conio.h>int main(){ int m,d; int i=0;clrscr(); cout<<"Enter Birthday month: "; cin>>m; cout<<"Enter Birthday day: "; cin>>d; cout<<""; { if(m==3 && d>=21) cout<<"ARIES!"; else if (m==4 && d<=20) cout<<"ARIES!"; else if(m==4 && d>=21) cout<<"TAURUS!"; else if(m==5 && d<=21) cout<<"TAURUS!"; else if(m==5 && d>=22) cout<<"GEMINI!"; else if(m==6 && d<=21)

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .