It's a bit of a longshot, as it's not exactly a common programming language, but here is the first place I thought off to ask. Basically, I want to learn C++, but my brother, who knows it, and uses it everyday at his job maintains it's too complicated for me, so he wants me to try and program some Visual Basic. What he wants me to do is:
"write a program to draw whatever amount of circles the user specifies at random positions."
It seems simple enough, but there's a lack of Visual Basic Tutorials out there which is somewhat hindering my progress. I'm not asking anyone to actually program it, I just need help with this one piece. My code:
Now, when I try to run it, it gives me "Syntax Error on line 8" (which is the line in bold). What I'm trying to do, is to say that if the user inserted 1 for circle$, that it prints "Cool", but it doesn't seem to know what circle$ is.Code:
input "How many circles would you like to put in? ", circle$
print "You have chosen " + circle$ + " .This will now be drawn in Graphics Output below.";
if circle$ = 4 then print "Cool"
I would greatly appreciate the help!