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;
아트워크  시대
burnin...
댓글
wezzuh 2025년 4월 7일 오  10시 40분 
chill big man
RoundBack 2024년 10월 2일 오후 2시 22분 
wlyed ybes
N4Z 2018년 3월 17일 오  5시 09분 
+REP