//Car rental system.
//Main objective: set a global variable named "balance" and then assign it to a random value between 60k-500k.
//Cars: BMW, Mercedes, Bugatti, Lamborghini.
//Times: 5 hrs, 10 hrs, 1 day.
#include <iostream>
#include <cstdlib>
using namespace std;
//Main variable (Ballance)
int ballance = (rand(60000) % 500000) + 1;
int main(){
int answer;
do{
cout << "Welcome to my car rental system project! (Created in c++)\n";
cout << "How can I help you?\n";
cout << "1. Show ballance\n";
cout << "2. Rent Car\n";
cout << "3. Exit.";
cin >> answer;
switch (answer){
case 1:
cout << "Your ballance is " << ballance << "!";
break;
case 2:
//Not yet
case 3:
exit(0);
}
} while (answer != 3);
}