I am a complete newbie to CS50 and programming. I entered in my basic code and ran the program and CS50check and it was all good. The I tried many times to include this do while loop, reviewed notes, walkthrough's, etc. and I just don't get it or see it.
Here is the revised code but it still doesn't work after many variations. i just don't see the problem.
#include <cs50.h>
#include <stdio.h>
int main(void)
{
do
{
printf("How long was your shower in minutes ");
int minutes = get_int();
int bottles = minutes * 12;
printf("You used %i bottles of water for your shower\n", bottles);
}
while (minutes > 1);
}