Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi everybody
#1
Hi everybody I'm new in here. Anybody can help me to answer these 2 questions please? I will ask and answer. I want to tell If my answer is right or no.

Which of the following is correct about the LET statement?

A . The LET statement is required when assigning a value to a variable.
B . The LET statement is optional when assigning a value to a variable.

The answer is B

The statement INPUT "Interest Rate" I prints

A . Interest Rate to the screen and sets the variable i equal to the user's input
B . INPUT Interest Rate to the screen and sets the variable i equal to the user's input

The answer is B

I'm waiting 4 your reply

Peace , Simply me :bounce:
Reply
#2
Just start up qb, you don't need us to answer. You don't need LET, that's an archaic statement included in QB to ensure backwords compatibility with older Microsoft BASIC compilers. It's not a bad programming practice though, you just don't need it. And while I've never tried this, you'll probably get an error for the input because you havent provided a variable to store it into.
Reply
#3
B is wrong. It won't print INPUT to the screen. And you need a comma before the i
Reply
#4
LOL I actually, disabled guy and studying in distance shcool and i try to be of everything I get. So thats wasn't home work as you think :wink: Anyway thank alot 4 your help guys.

Peace Simply me :bounce:

PS. dont hucker me plz :wink:
Reply
#5
You could download QB or QBasic ( http://www.download-qb.tk ) and enter this fascinating world Smile
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#6
whats the difference between QB and QBasic? its been bugging me for a while
Reply
#7
I'm guessing na_th means that qb = QuickBASIC (the versions with compilers) and QBasic = QBasic (version without a compiler)
Reply
#8
Quote:whats the difference between QB and QBasic? its been bugging me for a while

All the info you need at my site Smile
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#9
thx oracle and nathan. i think i understand now. ok. so if i wrote qbasic when i mean quickbasic, is there really that big of a difference tho? before reading this i always changed them and stuff. so yea.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)