Answer: 7 math 8 many
Explanation: it makes sense
Answer:
Following code are:
int *temp; //declaration of variable
// perform swapping
temp = xp;
xp = yp;
yp = temp;
Explanation:
we declare an integer data type pointer variable "*temp" then perform swapping between them.
The variables "xp" and "yp" are already declared and these variables are performing swapping among three.
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:
You have to do that on your computer not someone elses....
Explanation: you have to do it