Why doesn\'t this program execute all the way to the end? Isthere an easy fix? W
ID: 3608879 • Letter: W
Question
Why doesn't this program execute all the way to the end? Isthere an easy fix? Will rate lifesaver...thanks!#include <iostream> using namespace std; int main() { cout << "hello" << endl; float f = 128; float t = 1.0/255; while ( f != 0 ) { f -= t; } cout << "The End" << endl; return 0; } Why doesn't this program execute all the way to the end? Isthere an easy fix? Will rate lifesaver...thanks!
#include <iostream> using namespace std; int main() { cout << "hello" << endl; float f = 128; float t = 1.0/255; while ( f != 0 ) { f -= t; } cout << "The End" << endl; return 0; }