// PROGRAM compare #include "TrueBASIC.h" int main(); int main() { double compare, dt, finished, i, t; i = 0; compare = 1000; while(i <= 10000) { ++i; if(i == compare) printf("first test satisfied\n"); } printf("finished first loop\n"); t = 0; dt = 0.1; finished = 100; while(t < 1000) { t += dt; if(t == finished) printf("second test satisfied\n"); } printf("t = %f\n", t); return 0; }