[ create a new paste ] login | about

Link: http://codepad.org/QG8c2z8p    [ raw code | output | fork ]

C++, pasted on Apr 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
using namespace std;

int main()
{
	int y = 25;
	int z = 25;
	y %= 16;
	z = z % 16;
	cout<<"y = "<<y<<endl;
	cout<<"z = "<<z<<endl;
	return 0;
}


Output:
1
2
y = 9
z = 9


Create a new paste based on this one


Comments: