turbo
Hong Kong
#include <iostream>
#include <string>

int main() {
std::string car;

std::cout << "What's your dream car? ";
std::getline(std::cin, car);

if (car == "Nissan Skyline")
std::cout << "Legend. You clearly have taste.\n";
else if (car == "Toyota")
std::cout << "Respect. It'll outlive us all.\n";
else
std::cout << car << "? Bold choice, my friend.\n";

return 0;
#include <iostream>
#include <string>

int main() {
std::string car;

std::cout << "What's your dream car? ";
std::getline(std::cin, car);

if (car == "Nissan Skyline")
std::cout << "Legend. You clearly have taste.\n";
else if (car == "Toyota")
std::cout << "Respect. It'll outlive us all.\n";
else
std::cout << car << "? Bold choice, my friend.\n";

return 0;
Afișierul cu ilustrații
burnin...
Comentarii
wezzuh 7 apr. la 10:40 
chill big man
RoundBack 2 oct. 2024 la 14:22 
wlyed ybes
N4Z 17 mart. 2018 la 5:09 
+REP