AllExperts > Qbasic, Quickbasic 
Search      
Qbasic, Quickbasic
Volunteer
Answers to thousands of questions
 Home · More Qbasic, Quickbasic Questions · Answer Library  · Encyclopedia ·
More Qbasic, Quickbasic Answers
Question Library

Ask a question about Qbasic, Quickbasic
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Alex Barry
Expertise
I have been a qbasic programmer since 2000, creating games, minor libraries and various small programs. I have experience using interrupts, graphics, file input/output, the mouse cursor, and using libraries. I have also learned FreeBASIC, c/c++, python, php and html.
I do not claim to be an absolute authority in any language, but I don't mind looking things up and learning with you.

Experience
Hobby programming since 2000

I no longer belong to any community programming groups, but do have knowledge of *basic dialects and C/C++

 
   

You are here:  Experts > Computing/Technology > Basic > Qbasic, Quickbasic > triangle

Qbasic, Quickbasic - triangle


Expert: Alex Barry - 9/4/2009

Question
how can put for loop ina program
and how can creat a triangle shap with a charactor

Answer
Hi, navin,

To make a for loop, this is what you do:

FOR variable% = minvalue% TO maxvalue% [STEP increment%]
 ' Put your information here ... the variable% will reflect a number between minvalue% and maxvalue%
NEXT variable%

you can do this with any number type and I believe you can use characters, too.

For making a triangle, I have no idea what you're asking...maybe if you can rephrase the question, I could help you a little more,

Hope that helps,
-Alex

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.