Computer Science, asked by madhavkabra, 1 year ago

Make a c program to print random variables

Answers

Answered by siddhartharao77
0
#include <stdlib.h>

#include <stdio.h> 

void main()

{

int i;

printf("Random Numbers from 1 to 100 are : ");

printf("\n\n");

for(i=0; i<10; i++)
{
printf("Random Number %d : %d\n", i, rand()%100);
}

printf("\n");

getch();

}
Similar questions