I received great advice and they told me go back and study and fix my brackets and this is my new code
include
include
int Minutes;
int main(void)
{
do
{
int Minutes = get_int();
printf("minutes: %i\n", Minutes);
Minutes = Minutes * 12;
int Bottles = Minutes * 12;
printf("Bottles: %i\n", Bottles);
printf ("You took %i Minutes in the shower which means that you have used %i Bottles of water\n", Minutes, Bottles);
}
while ( Minutes < 0);
}
but I am getting one error now
water.c:10:13: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] int Minutes = get_int();
water.c:4:5: note: previous declaration is here int Minutes; ^