Skip to main content
guest
Join | Help | Sign In
Liberty BASIC Programmer's Encyc Home
guest| Join | Help | Sign In
Liberty BASIC Programmer's Encyc
  • Wiki Home
  • Recent Changes
  • Pages and Files
  • Members

Home

General Tutorials
Advanced Tutorials
GUI Programming
Graphics and Games
Strings and Text
Numbers and Math
Using Files
Windows API
Communications
Programmer's Tools

Articles by Date
FAQs
Rosetta Code
General Articles
Newsletters Contents

Table of Contents
Demos

Submit Articles
TOS and License

0405

Edit 7 …
  • 0 Tags
    • No tags
    edit
  • Notify
  • RSS
  • Backlinks
  • Source
  • Print
  • Export (PDF)

Change 0 of 0

Older Version Newer Version

murphytabatha murphytabatha Oct 17, 2014

Review Changes
Revert to This Version

Homework

Tabatha Murphy
0201.gif

budget

showing how to create a program that will add up your budget using numeric variables
input "rent"; "rent"; budget1
input "gas"; budget2
input "gas"; budget2 "electric"; budget3
input "electric"; budget3 print "total";budget1+budget2+budget3 "total";budget1+budget2+budget3

conversation

showing how to use a string of variables

input "how old are you?"; age$
input "where were you born?"; birth$
print birth$ + " is a beautiful place, I can't believe you are" + age$ +" you look so young"

together

showing an example of using both numeric variables and a string of variables
input "how old are you?"; "time you started work?" ;start
input "gas"; budget2 "duties you preformed on the job?" ;duties$
input "electric"; budget3 "time you finished work?" ;finish
print "total";budget1+budget2+budget3 "today you preformed" + duties$ + " in "; finish - start; " time"
Third Part Title Text here. print name$
Homework | budget | conversation | Third Part Title together
Help · About · Pricing · Privacy · Terms · Support · Upgrade
Contributions to https://lbpe.wikispaces.com/ are licensed under a Custom License.
Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world
Turn off "Getting Started"
  1. Home
  2. ...
Loading...