As a programmer, your task is to design a program to enable an Uber company to obtain information on registered accounts both(both passengers and drivers), number of downloads, number of usage per day. Design an efficient and user friendly software using c++. Provide comprehensive flow chart to support your program design....hellpppp
Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x, y, z,l,m,n;
cout<<"Driver 1 kindly accept booking: "<<endl;
cin>>x;
cout<<"Driver 2 kindly accept Booking: "<<endl;
cin>>y;
cout<<"Driver 3 kindly accept booking: "<<endl;
cin>>z;
// assume number of uber users and dormant downloads
x= 3;
l=0;
y=4;
z=2;
z= x + y; //number of actively registered drivers and users
m= z + l; //number_of_app_downloads
n= m-l; //number of use
switch(n) {
case 1:
if (n>=z)
{
cout<<"total number of registered accounts is : "<< z <<endl;}
break;
case 2:
if (n>=m)
{
cout<<"total number of downloads is: "<< m <<endl;}
break;
case 3:
if (n>=n)
{
cout<<"number of usage"<< n <<endl;}
break;
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x, y, z,l,m,n;
cout<<"Driver 1 kindly accept booking: "<<endl;
cin>>x;
cout<<"Driver 2 kindly accept Booking: "<<endl;
cin>>y;
cout<<"Driver 3 kindly accept booking: "<<endl;
cin>>z;
// assume number of uber users and dormant downloads
x= 3;
l=0;
y=4;
z=2;
z= x + y; //number of actively registered drivers and users
m= z + l; //number_of_app_downloads
n= m-l; //number of use
switch(n) {
case 1:
if (n>=z)
{
cout<<"total number of registered accounts is : "<< z <<endl;}
break;
case 2:
if (n>=m)
{
cout<<"total number of downloads is: "<< m <<endl;}
break;
case 3:
if (n>=n)
{
cout<<"number of usage"<< n <<endl;}
break;