Untitled

mail@pastecode.io avatar
unknown
c_cpp
2 years ago
265 B
1
Indexable
Never
#include<iostream>
#include<limits.h>
using namespace std;
int main() {
	short myNum = 50;
	short myNum1 = 19;
	myNum += myNum1;
	short int numX, numY;
	int X = SHRT_MAX - myNum;
	int Y = SHRT_MIN - myNum1;
	cout << X << " " << Y << "\n";
	return 0;
}