> Quite BASIC
>
Welcome to the clubhouse!
User login
Username:
*
Password:
*
Create new account
Request new password
Navigation
Quite BASIC
Blog
Projects
Help
Forums
Get the most from this many more days of your life...
Posted
November 17th, 2008
by
pine
Your vote:
Current rating:
1
2
3
4
5
Category
Description
Uses INPUT, LET, multiplication, subtraction, and PRINT
>> See More projects by pine
Level
>> Open this project at the main Quite BASIC Page
5 INPUT "Tell me your age in years"; a 7 INPUT "Tell me what age you think you'll live to be"; b 10 LET d=a*365 12 LET c=b*365 15 PRINT "You are about ";d;" days old." 20 PRINT "You think you'll have a life of about ";c;" days" 22 LET z=c-d 25 PRINT "So you think you have about ";z;" days left to live." 30 PRINT "I hope you'll make the most of them!"
Login
or
register
to post comments
Popular Projects
Trebuchet II
New version with a mini story plus the popups are gone (yay!). And watch out for the dragon! The popup is replaced by pressing +/- to change the angle and pressing 1-9 to set the force.
Pong with Scoring
A version of the Ping Pong game that keeps the score
Snake Skin
A variant of the Snake game but with a snake skin that moves.
Countries Hangman
A version of the Hangman game where the words are all countries
Tool Name Hangman
A version of the Hangman game for tools.
more
Who's online
There are currently
0 users
and
0 guests
online.
Who's new
piggles
pine
RAFAEL ROMERO
almhath
miken
Active forum topics
Members
LANGUAGE LEARNINGS
ERRORS
more
New forum topics
LANGUAGE LEARNINGS
ERRORS
Members
more