Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-10-2009, 07:29 AM   #1 (permalink)
canit210
Registered Member
 
Join Date: Jun 2009
Posts: 68
Default Random number generation

I'm creating a program that I want to have randomly generate any number from 1 through 5. Can anybody help me out with the coding for this? I actually want to set it up like this:

(randomly generated number 1 through 5) +(static plus) (randomly generated number 1 through 5)

This would occur multiple times.

Thanks in Advance.
canit210 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,811
Threads: 89,206
Posts: 380,628
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mikeporras
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:39 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.