Name: Anonymous 2010-06-18 2:22
Give us your programs, and we'll tell you if they halt!
Bring em on!
Bring em on!
(loop)
start:
hlt
#!/bin/sh
yes That does not halt.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
srand(time(NULL));
float a, b, c, d;
while(true)
{
a = (float)rand();
b = (float)rand();
c = (float)rand();
d = (float)rand();
if((a/b) == (c/d))
{
break;
}
}
printf("Halt!")
return 0;
}int main(int argc, char *argv[]) {
while (0 == 1 == 0) ;
}