#include <iostream> int main(){ for (int k(-2); k <= 7; k ++) std::cout << k << "%4 = " << k%4 << std::endl; return 0; }