[ create a new paste ] login | about

Link: http://codepad.org/kuaF5iOv    [ raw code | fork ]

C, pasted on Feb 9:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: