Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
#8
#include <iostream> using namespace std; int main() { //// int wiek; std::cin >> wiek; if( wiek >= 18 && wiek <= 100 ) { std::cout << "Twierdzisz, ze jestes pelnoletni..." << std::endl; std::cout << "ale czy to kogos interesuje? :)" << std::endl; } std::cout << "Koniec" << std::endl; //// int wiek2; std::cin >> wiek2; if( wiek2 < 18 ) { std::cout << "Nie jestes pelnoletni" << std::endl; } else { std::cout << "Jestes pelnoletni" << std::endl; std::cout << "Koniec" << std::endl; } return 0; }
run
|
edit
|
history
|
help
0
Regex failure
#10.1
what is this
hangman
throwing std::function on MSVC is dangerous
VC++ latest rejects istream to nullptr comparison
a parameter pack
MSVC ignoring unknown attributes
hangman
Spirit Lex combining token_id's with semantic actions