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 4 月 7 日 上午 10:40 
chill big man
RoundBack 2024 年 10 月 2 日 下午 2:22 
wlyed ybes
N4Z 2018 年 3 月 17 日 上午 5:09 
+REP