#include <iostream>
#include <string>
int main() {
std::string mot;
std::cout << "Tapez un mot (ou 'quit' pour arrêter) :" << std::endl;
while (true) {
std::cin >> mot;
if (mot == "quit") {
break;
}
std::cout << "Vous avez écrit : " << mot << std::endl;
}
return 0;
}