Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ამოცანა#2---------Point and a rectangle II
#include <iostream> using namespace std; // ვარკვევთ ეკუთვნის თუ არა წერტილები მართკუთხედს bool FindPoint(int x, int y,int x1, int y1, int x2, int y2 ) { if (x > x1 and x < x2 and y > y1 and y < y2) return false; return true; } int main() { int x, y, x1, y1, x2, y2 ; cin>> x, y, x1, y1, x2, y2 ; // ვიძახებთ ფუნქციას if (FindPoint(x, y, x1, y1, x2, y2)) cout << "1"; else cout << "0"; return 0; }
run
|
edit
|
history
|
help
0
Callback
inversion of array using merge sort
strict aliasing
linkage
TupleTel
12535
Sequence point and array
operator++
Laborator 2 SD
tasks