Re: Generate two random number and multiply



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
.



Relevant Pages

  • Re: Spam
    ... That shows what little you know about Spam. ... Instead of heating on the dash of your car, ... Decode email address using b64decode or uudecode -m ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (sci.electronics.repair)
  • Re: Hiding a file/directory
    ... >>What is the best way of hiding a file on a system so that even ls, du, ... Email address has been base64 encoded to reduce spam ... Decode email address using b64decode or uudecode -m ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (comp.unix.bsd.freebsd.misc)
  • Trigraphs
    ... Email address has been base64 encoded to reduce spam ... Decode email address using b64decode or uudecode -m ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (comp.lang.c)
  • Re: BWAH HA HA HA!
    ... Daniel Rudy ... Email address has been base64 encoded to reduce spam ... Decode email address using b64decode or uudecode -m ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (rec.arts.anime.misc)
  • Re: Kerlock/Harlock
    ... > transfer his essence into the mainframe computer of Harlock's ship the ... Some characters die over and over again, ... Decode email address using b64decode or uudecode -m ... strip view finger mount fcsk more fcsk yes spray umount sleep ...
    (rec.arts.anime.misc)