c++ Rastgele sayı üreten program

Konu sahibi son olarak 3355 gün önce görüldü
Kod:
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<time.h>
int main ()

{
int x;
srand(time(NULL));
x=rand()%100;
printf("%d",x);
getch ();
}
 
Geri