murphytabatha
Oct 17, 2014
=Homework= //Tabatha Murphy// [[image:0201.gif width="186" height="172"]] ---- =budget= showing how to create a program that will add up your budget using numeric variables <span style="background-color: #eeeeee; color: #000000; font-family: Courier New;">input "rent"; budget1</span> <span style="background-color: #eeeeee; color: #000000; font-family: Courier New;">input "gas"; budget2</span> <span style="background-color: #eeeeee; color: #000000; font-family: Courier New;">input "electric"; budget3</span> <span style="background-color: #eeeeee; color: #000000; font-family: Courier New;">print "total";budget1+budget2+budget3</span> =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 <span style="background-color: #eeeeee; color: #000000;"><span style="font-family: Courier New;">input "time you started work?" ;start</span></span> <span style="background-color: #eeeeee; color: #000000;"><span style="font-family: Courier New;">input "duties you preformed on the job?" ;duties$</span></span> <span style="background-color: #eeeeee; color: #000000;"><span style="font-family: Courier New;">input "time you finished work?" ;finish</span></span> <span style="background-color: #eeeeee; color: #000000;"><span style="font-family: Courier New;">print "today you preformed" + duties$ + " in "; finish - start; " time"</span></span> ---- [[toc|flat]]