Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Visual Basic programming problem

Name: Anonymous 2011-03-12 7:33

Hello all;

I've been coding a small program for visual basic (Yes it's not a great language but I figured I'd at least give it a try), and I've stumbled upon a small problem.

Code: http://pastebin.com/rqeKiE76

Now, the code works fine until section 6 where the outputs stop showing and the program closes itself. I'm sure I've missed something obvious and so I'm asking you, any help would be apprecaited.

Name: Anonymous 2011-03-12 16:37

This thread has been closed and replaced with the following one; implement >>10 in language of your choice.



number=input('please enter your age')
if number > 50:
    print 'you are older than 50'
elif number <20:
    print 'you are younger than 20'
elif number<50 and number >20:
    print 'your age is between 20 and 50'
else print

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List