Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
#include <iostream> using namespace std; main() {intx,charge; float a,b,c; cout<<"case 1<=2hours,case2<=3hours,case3<=4hours,case4<=5hours,case5>6hours\n"; cout<<"pls enter your time entry\n"; cin>>a; cout<<"pls enter your time exit\n"; cin>>b; c=b-a; cout<<"no of hours park is\n"<<c; cout<<"pls enter no of case according to your no of parking hours\n"; cin>>x; switch(x) { case 1:cout<< "the charge is RM2.00\n";break; … |