Assume you have defined a structure named Invoice. It contains an integer field named invoiceNumber and a double field named amount. What is the output of the following segment of code?
Invoice myInvoice;myInvoice.invoiceNumber = 2245;myInvoice.amount = 100.00;if(myInvoice.invoiceNumber > 1000 || myInvoice.amount > 200.00 && myInvoice.amount<500.00) cout << "Pay now" << endl;else cout << "Pay later" << endl;
a. “Pay now”
b. “Pay later”
c. “Pay now” and “Pay later”
d. Nothing
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.