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 / rama krishna

First program is wrong ,randomize is undefined you just
check it.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1050


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3311


How can I sort a linked list?

839


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1056


What is the difference between mpi and openmp?

1049


Tell me the use of bit field in c language?

873


What's the total generic pointer type?

866


What should malloc(0) do?

852


how to create duplicate link list using C???

2315


Differentiate fundamental data types and derived data types in C.

845


What are the functions to open and close file in c language?

986


What is c token?

867


What are variables c?

842


What is context in c?

763


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1526