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
MyCodeWindows
Static cast of Enum
Template
3 sayinin toplami
Visual Studio C++ wont accept >> or << past the initial declarations
Generic EventProvider
virtual inheritance
VS struct name enumerate
Matrix_1
cv2