Re: Generate two random number and multiply
- From: Daniel Rudy <spamthis@xxxxxxxxxxxx>
- Date: Mon, 05 Mar 2007 15:56:52 GMT
At about the time of 3/5/2007 7:23 AM, jjmillertime@xxxxxxxxxxx stated
the following:
I'm new so i apologize if this is in the wrong spot. I'm also new to
programming in C and i've been searching for quite a while on how to
create a program using C that will generate two random numbers,
multiply them, and ask you for the result. It also needs to have four
responses for both right and wrong answers and should print them
randomly as well. The program should use at least 2 functions. Any
help would be greatly appreciated.
Thanks
Homework?
Go take a look and rand(3) and srand(3). It's standard C.
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/
--
Daniel Rudy
Email address has been base64 encoded to reduce spam
Decode email address using b64decode or uudecode -m
Why geeks like computers: look chat date touch grep make unzip
strip view finger mount fcsk more fcsk yes spray umount sleep
.
- Follow-Ups:
- Re: Generate two random number and multiply
- From: pete
- Re: Generate two random number and multiply
- References:
- Generate two random number and multiply
- From: jjmillertime
- Generate two random number and multiply
- Prev by Date: Re: end of array
- Next by Date: Re: question on qsort library function
- Previous by thread: Re: Generate two random number and multiply
- Next by thread: Re: Generate two random number and multiply
- Index(es):
Relevant Pages
|