Join Us.

Loading...

Member Login

Not a member? Sign Up for Free.
Loading...
Want to help RottenEggs? Do your part and share this site
  • View Story
  • Comments
Home All Stories Story

“ Program to Find Your Age in Days ”

Story by Mighty_Malakai , written 6 years ago 1060 views100 votes
DO NOT TRY THIS AT HOME : Text files and message bases are for INFORMATIONAL PURPOSES ONLY. Do not undertake any project based upon any information obtained from this or any other web site.We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site.
This egg is on a program i made to calculate how old you are in days.

all you have to insert is the current month, day, year, and your month, day, year of birth.

In this program -> is the button above the ON button on the calculator

here it is

ClrHome
Disp "1:January"
Disp "2:February"
Disp "3:March"
Disp "4:April"
Disp "5:May"
Disp "6:June"
Disp "7:July"
Pause
ClrHome
Disp "8:August"
Disp "9:September"
Disp "10:October"
Disp "11:November"
Disp "12:December"
Disp "Month"
Prompt A
Disp "Day"
Prompt B
Disp "Year"
Prompt C
Disp "Month Born"
Prompt D
Disp "Day Born"
Prompt E
Disp "Year Born"
Prompt F
ClrHome
If A=1
(31-(31-B))->G
If A=2
(28-(28-B))+31->G
If A=3
(31-(31-B))+59->G
If A=4
(30-(30-B))+90->G
If A=5
(31-(31-B))+120->G
If A=6
(30-(30-B))+151->G
If A=7
(31-(31-B))+181->G
If A=8
(31-(31-B))+212->G
If A=9
(30-(30-B))+243->G
If A=10
(31-(31-B)+273->G
If A=11
(30-(30-B))+304->G
If A=12
(31-(31-B))+334->G
(C-F)-2->H
H*365.25->I
If D=1
((31-E)+1)+334->J
If D=2
((28-E)+1)+303->J
If D=3
((31-E)+1)+273->J
If D=4
((30-E)+1)+242->J
If D=5
((31-E)+1)+212->J
If D=6
((30-E)+1)+181->J
If D=7
((31-E)+1)+150->J
If D=8
((31-E)+1)+120->J
If D=9
((30-E)+1)+89->J
If D=10
((31-E)+1)+59->J
If D=11
((30-E)+1)+31->J
If D=12
((31-E)+1)->J
G+I+J->K
Disp "Age In Days"
K+365.5->L
iPart(L->L
Disp L

Please rate fare this program took a long time to make.
Add to WATCHBOARD

Comments

Loading...
  • Attach Image
This is where new messages will appear. Type something into the box above to start sharing.