Find the mc cab's number for the below code.
if code is blank or not in database
display "reenter code"
else
if no credit and amount < 500
display "credut not available"
else
display "credit passed"
end if
end if
Answers
Answered by
4
Answer:
5
Explanation:
Attachments:
Answered by
0
Answer:
The given pseudo-code implies that if code is either blank or not present in the database then
"reenter code is displayed."
If there is no credit as well as the amount is less than 500 then it will display "credit not available"
The last else works if the above two conditions are not matched. That means if code is available and the amount is greater than 500.
It will display "credit passed".
For mc cab's number code should not be blank and present in database as well as amount should be greater than 500.
#SPJ3
Similar questions