Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to write a code for random pick from 1-1000 numbers?
The output should contain the 10 numbers from the range
1-1000 which should pick randomly, ie ,for each time we run
the code we should get different outputs.

Answer Posted / kap

it is not the correct answer because the range they asked 0-
1000 so need to to %1000. :-)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is fflush() function?

1141


How can I list all of the predefined identifiers?

986


how to make a scientific calculater ?

2077


What is the use of linkage in c language?

1067


What are variables c?

1055


Explain what are binary trees?

1086


Explain what is the most efficient way to store flag values?

1232


What is const keyword in c?

1167


What is graph in c?

1063


what is the diffrenet bettwen HTTP and internet protocol

1840


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1006


Explain built-in function?

1148


How are Structure passing and returning implemented by the complier?

1171


Write the control statements in C language

1217


What are local static variables?

1158