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;
Expositor de artwork
burnin...
Comentarios
wezzuh 7 ABR a las 10:40 a. m. 
chill big man
RoundBack 2 OCT 2024 a las 2:22 p. m. 
wlyed ybes
N4Z 17 MAR 2018 a las 5:09 a. m. 
+REP