>> Edit article
이름
제목
패스워드
#include <stdio.h> #include <stdlib.h> #include <time.h> int randnum(int min, int max) { return (rand()%(max-min+1))+min; } int main(int *argc, char *argv[]) { srand(time(NULL)); int arg1=atoi(argv[1]), arg2=atoi(argv[2]); printf("%d",randnum(arg1, arg2)); } -- 서명
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved