/* * @topic T00010 Feb 14, 2013 -- C++ expressions * @brief Modulo <tt>%</tt> (integer remainder) operator */ #include <iostream> int main() { int number = 1; while ( number < 35 ) { std::cout << number << "\n"; if ( ( number % 5 ) == 0 ) { std::cout << "\n"; number = 0; } number = number + 1; } return 0; }