Gas Prices

PRG:GASPRICE

This program finds the cost of any amount of gallons of gasoline or the gallons proportion of how much you pay. Confused? Just download it and find out! Sorry for the page misnaming. I'll post that program later.

The Code

Don't have the QR code so here's the coding. Sorry.

ACLS

COLOR 9:BEEP7:PRINT"GAS PRICES"

PRINT"AS OF MARCH 2013":WAIT 120

GOTO @KLOOP

@LOOP

BEEP 7

@KLOOP

COLOR 7:INPUT"Gallons or money";A$

BEEP 7:INPUT"Enter amount(no $ sign)";NO1

IF A$=="GALLONS" THEN GOTO @G

IF A$=="MONEY" THEN GOTO @M

@G

MON=NO1x3.71

CLS

PRINT""NO1" gallons equals"

PRINT"$"MON" dollars"

GOTO @LOOP

@M

GAL=NO1/3.71

CLS

PRINT"$"NO1" equals"

PRINT""GAL" gallons"

GOTO @LOOP