mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
made variable input
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user