What is the output of the following program? (2)
using namespace std;
int main()
{
int quantity[5] = {3, 5, 2, 8, 1 };
double unitCost[5] = {15.00, 20.00, 5.00, 3.00, 75.00};
double price[5];
double billingAmount = 0;
for (int i = 0; i <>
price[i] = quantity[i] * unitCost[i];
billingAmount = billingAmount + price[i];
}
cout <><>
cout <><><>
<><>
<>
<><><>
cout <>
$" <>
return 0;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here