#include <iostream> using namespace std; bool prompt_yes_or_no(const string& question) { cout << question << " (Y/N): "; char response; cin >> response; return (response == 'Y' || response == 'y'); } void join_farm_out_project_teams() { cout << "Welcome to our Farm-out project teams!" << endl; } int main() { if (prompt_yes_or_no("Are you inspired to make the world a better place?") && prompt_yes_or_no("Do you want to be part of projects that cover the entire process, " "from edge to cloud and from driver to (front-end) application?") && prompt_yes_or_no("Do you want to work on (big scaled) high-tech systems?") && prompt_yes_or_no("Do you enjoy responsibility and leadership roles?") && prompt_yes_or_no("Do you love challenges in complex architecture for distributed systems?")) { join_farm_out_project_teams(); } else { cout << "Thank you for considering us! Keep exploring new opportunities!" << endl; } return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter