I have to write a program in C, but I am lost and have no idea where to begin... I have the pseudo-code for the program, but am honestly lost... If anyone can help or lead me in the right direction, I would gladly appreciate thank you...
start with full bottles of pepsi and coke
get size of pour unit
get sufficiently mixed measure
[[[1st function]]]
print header rows of table
[[[2nd function]]]
print first data row, before any pouring
while not sufficiently mixed
pour one unit from coke bottle to pepsi bottle
figure out how much coke and pepsi are in that unit
add that coke and pepsi to pepsi bottle
remove that coke and pepsi from the coke bottle
pour one unit from pepsi bottle to coke bottle
figure out how much coke and pepsi are in that unit
add that coke and pepsi to the code bottle
remove that coke and pepsi from the pepsi bottle
increment shake count
print row of table with shake number, percents of coke and
pepsi in pepsi bottle
thank you..