#63 Generates a Random number in c program #c #cprogramming #shorts #ccode

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

#include<stdio.h>
#include<stdlib.h>
#include<time.h>

int main()
{
int num;
printf("\t Tuni Technical Hacker \n");

srand (time(0));
num=rand()%50+1;

printf("The number is: %d \n", num);
return 0;
}

TuniTechnicalHacker
Автор

the code is in comments box and telegram channel

TuniTechnicalHacker
welcome to shbcf.ru