Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
minmax
#include <iostream> #include <algorithm> int main() { int x = 17; x = std::min(std::max(x, 0), 10); std::cout << x << '\n'; x = -1; x = std::min(std::max(x, 0), 10); std::cout << x << '\n'; }
run
|
edit
|
history
|
help
0
C++ Solar eclipse program(Shoushi integrated) 1644 - 1785 from Ideone( Date: August 14, 2014 )
ThreadPool
Namespace
Anagrams
runtime template mode processor
Metodos
nearest
Interview Prep
base and derr con
Dar