so I am very new to this but I have written some code to complete the pset1 water task and it just won't pass through check50 2016.water water.c. I have put it below, I understand that it maybe all over the place, but it does exactly what I am asked for. I have tried everything that I can think of, which granted isnt much at this stage and I've looked through off the relevant questions on here. So if anyone could help me to see where Ive gone wrong, either in the code or else where that would be amazing!
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int i;
do
{
i = get_int();
}
while (i < 0);
{
printf("Minutes: %d\n", i);
printf("Bottles: %d\n", i*12);
}
}
int product(int i)
{
return i * 12;
}