I'm not talking about Microsoft smallbasic, I'm talking about this one..
So, my task is:
a) Write a program which draws 10 x- direction lines and 10 y- direction lines (coordinates) (hint line 20,20,200,200 draws a line in coordinates 20,20 -> 200,200) make a for- loop B)/> change the program that it asks the amount of lines and if user inserts less than 1 or more than 100 the program gives a error message
This is what I've got so far:
input "How many lines?", amount if amount<1 OR amount>100 print "Invalid amount. Insert amount between 1 and 100." endif for a=1 to amount line 50, 50, 200, 200 next pause
So could someone make this work? I've used a week trying to figure this out.. normally it takes 15minutes maxium.. I'm out of ideas and tries..
Appreciate every effort put into this.