Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: xshashiy
Forum: C Jul 7th, 2005
Replies: 4
Views: 4,048
Posted By xshashiy
I have tried that but it does not work. it produces same pattern of numbers.


regards
shashi
Forum: C Jul 6th, 2005
Replies: 5
Views: 2,265
Posted By xshashiy
hi here is the solution for your problem.

#include "stdio.h"
#define NUM_CUSTOMERS 3
main()
{
int num_hours ,customers;
float charge_min = 2.0,rate = 0.5 , charge_max = 10.;
float...
Forum: C Jul 6th, 2005
Replies: 4
Views: 4,048
Posted By xshashiy
hi
i want to generate non repeated random numbers many times. for that i m using the following code.

#include "sys/types.h"
#include "stdio.h"
#define MAX 200
#define N 20
main()
{...
Forum: C Jul 4th, 2005
Replies: 5
Views: 4,440
Posted By xshashiy
i want to generate non repeated random numbers from 0 to 156. here is the code for the purpose. but when i try to generate the random numbers more then 1 time by using a for loop, the same pattern on...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC