codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> int main() { int i; int first; int second; for(i=0; i == 1; i++){ first = ( rand()%6 ) + 1; second = ( rand()%6 ) + 1; printf("First number: %d, Second number: %d",first,second);} return 0; }
Private
[
?
]
Run code
Submit