Answer:
"Connection Refused"
Explanation:
This is the error message that is returned when the server is not listening on the correct port, or the server is offline.
Cheers.
Answer:
??????????????????????????????????????????////
Explanation:
Answer:
- Print the values days of bottles.
- Display total number of bottles collecting.
- Display the payout for this transaction.
Explanation:
Program:-
DEPOSIT_PER_BOTTLE = 0.10
another = "Y"
while another=="Y":
print("Input Values 7 days of bottles:")
total = 0
for I in range(7):
collected_bottles = int(input())
total += collected_bottles
payout = total*DEPOSIT_PER_BOTTLE
print("Total number of bottles collected: {:,}".format(total))
print("Payout for this transaction $%.2f"%payout)
another = input("Do you want to complete another transaction? ").upper()
Answer:
There are two error in this program--
- In header file inclusion, file is not defined.
- In the statement "result = ++(num1 + num2);" , bracket is fixed after the increment operator.
Explanation:
- For the first error, the user needs to add the file because "#include" is used to add the library for the program which states about the function and symbols used in the program.
- The second error is because there must be a variable with the increment operator ( increment operator is being used to increase the value of a variable by 1), but there is a small brace fix in between the operator and operands.