The bugs are for you to find! I'm wired in! Are you?
#include <iostream> #define REC (n) (1.0 / (n)) int main( ) { float i; for (i = 0.0; i < 10.0; i += 1.0) { std::cout << "1/" << i << " = " << REC(i) << "\n"; } return (0); }
No comments:
Post a Comment