Question: 2. Based on the below code answer the questions that follows: #include Using Namespace std; double total, hours; int main () { endl; }
2. Based on the below code answer the questions that follows: #include Using Namespace std; double total, hours; int main () { endl; } cout < < "Charges for the first 3 hours = RM2.00" < < endl; cout < < "Additional charges for the next hours = RM1.50" < < endl; cout < < "Maximum charges for any 24 hours = RM20.00" < < endl; cout < > hours; if ((hours 0)) else { } else ( } else cout < < " Your total fee is RM2.00" < < endl; if ((hours>3) && (hours 15) cout
Step by Step Solution
3.31 Rating (148 Votes )
There are 3 Steps involved in it
b Cyclotic Complexity VG en2 where e is the no of edges n is no of vertices Cyclotic ... View full answer
Get step-by-step solutions from verified subject matter experts
