English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to make a program that gives a random number from 1 to 10. How do i do it? Do i do it on DOS or what? Please give me a website where i can learn these stuff. Thanks

2006-12-29 13:32:17 · 7 answers · asked by Anonymous in Computers & Internet Programming & Design

7 answers

You need to understand a programming language such as C or Visual Basic. You will need a programming suite and/or a compiler to create the executable code.

www.cprogramming.com
http://www.a1vbcode.com/search.asp

2006-12-29 13:34:50 · answer #1 · answered by Anonymous · 0 0

Depends which language you want to use. Most languages have a variation of the "rand" function, which will give you a # between 0 and 1. So you would then have to multiply that # by 10, to give you a # between 1 and 10

2006-12-29 21:41:10 · answer #2 · answered by Deasel98 5 · 0 0

A program is writting with a programming language. One of the easiest to learn is Visual Basic. You can search google to "create random numbers"

2006-12-29 21:36:13 · answer #3 · answered by Crystaline 3 · 0 0

http://www.thecodeproject.com should have the code for that. You can also go to http://www.microsoft.com to download the Visual Studio.NET with VB.NET free. That will give you everything you need to create your own programs. Have Fun!

2006-12-29 21:42:47 · answer #4 · answered by Yep-itsMe 3 · 0 0

Go to university.

2006-12-29 21:34:40 · answer #5 · answered by 1 Cross + 3 Nails = 4 given 2 · 0 1

here

2006-12-29 21:43:26 · answer #6 · answered by redunicorn 7 · 0 0

ask beavis and butthead

2006-12-29 21:33:30 · answer #7 · answered by Anonymous · 0 2

fedest.com, questions and answers