Weekly Qbasic and Qb64 Lesson Topics
November 13, 2024, 12:15:57 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

What I have so Far,Learning program

Pages: [1] 2
  Print  
Author Topic: What I have so Far,Learning program  (Read 1844 times)
OlDosLover
Guest
« on: May 11, 2011, 08:19:09 am »

Hi all,
    I see you are comparing what was the user entered to a constant (letters of the alphabet).
Code:
PRINT "A"

INPUT "Letter: ", letter$
'-------------------------------
IF    letter$ <> "A" then
  'redo (redirect) this input or fall through to the next statement below the end if.
End If

or

While letter$ <> "A"
  INPUT "Letter: ", letter$
WEND
Could you post a description of what you want your program to do from start to finish please Garry. This would be our "definition of the problem" with which we would break it down into smaller problem and solve.
OlDosLover.
« Last Edit: May 11, 2011, 08:28:58 am by OlDosLover » Report Spam   Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy