Made some variables full caps

This commit is contained in:
ishak jmilou.ishak
2024-10-08 12:43:46 +02:00
parent 3f5c352451
commit dcd28e3587

View File

@@ -8,8 +8,8 @@ using namespace std;
CKobuki robot;
int command();
const char forward = '1';
const char rotate = '2';
const char FORWARD = '1';
const char ROTATE = '2';
int main() {
unsigned char *null_ptr(0);
@@ -41,7 +41,7 @@ int command() {
cin >> input;
switch (input) {
case forward: {
case FORWARD: {
int distance;
std::cout << "Enter distance to move forward: ";
cin >> distance;