made variable input

This commit is contained in:
ishak jmilou.ishak
2024-10-08 12:29:57 +02:00
parent 7db10d2238
commit 423b8a8dee

View File

@@ -38,6 +38,7 @@ int main() {
// } // }
int command() { int command() {
char input;
std::cout << "choose between forward and rotate" << endl; std::cout << "choose between forward and rotate" << endl;
std::cout << "What must the robot do?"; std::cout << "What must the robot do?";
cin >> input; cin >> input;