Home /
Expert Answers /
Computer Science /
question-1-trace-a-program-trace-the-following-program-and-show-the-output-int-main-float-pa530
(Solved): Question #1 Trace a Program Trace the following program and show the output: int main() { float ...
? Question #1 Trace a Program Trace the following program and show the output: int main() { float num = 0.9874275; int digit, k = 0, i=0; while(i <5) digit=10*num; num= 10*num - digit; if(digit%20) cout <<2* digit; else cout <<2* digit+1; k++: itt: cout << endl; cout <