/* * add s to itself until the sum exceeds 100 * * this program has a bug -- comments omitted to hide it * used to demonstrate static and dynamic debugging * * Matt Bishop, ECS 36A, Fall 2019 */ #include int main(void) { int i = 1, s; s = 3; while(i = 1){ s += s; if (s > 100) i = 0; } return(0); }