The program within Tutorial 2 does not show the user what calculations are used to make the output. Within this tutorial, print formatting will be used to show the user what calculations are being used.
Separators must be used between strings and calculations. QBasic / QB64 has two separators. The separators are the semicolon and the comma. The comma , places output in columns. The semicolon ; keeps the output next to each other.
Code Download
QBT3_1.BAS
QBT3_2.BAS
QB64 is a free download at www.qb64.com
QB64 Wiki & Manual is found at qb64.com/wiki.html
QBasic 1.1 comes with OldDOS. A zip file of OldDOS can be found at www.pcxt-micro.com/download.html
QBasic 1.1 needs DOSBox to run on Windows Vista and greater, Mac, and Linux.
DosBox is a free download at www.dosbox.com
Free QB64/QBasic Code
QBasic.Net - www.qbasic.net
Pete's QBasic Site - www.petesqbsite.com/index.php
QB45 - qb45.org
Phatcode - games.phatcode.net