September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -1,13 +1,18 @@
/*Corrected by Abhishek Ghosh, Mahalaya (19th September) 2017*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(){
char array[] = { 'a', 'b', 'c' };
char array[] = { 'a', 'b', 'c','d','e','f','g','h','i','j' };
int i;
time_t t;
srand((unsigned)time(&t));
srand( time( 0 ) );
for(i=0;i<30;i++){
printf("%c\n", array[rand()%10]);
}
printf( "%c\n", array[ rand() % 3 ] );
return 0;
return 0;
}