Commit ffe4d2a8 by makuks

Update Homework1.c

parent 8a6ff48c
Showing with 2 additions and 1 deletions
...@@ -21,7 +21,8 @@ double denominator; ...@@ -21,7 +21,8 @@ double denominator;
if(A > B){ if(A > B){
printf("Please make sure that the starting value is bigger than stopping value.\n"); printf("Please make sure that the starting value is bigger than stopping value.\n");
}while (A > B) }
}while (A > B)
do{ do{
printf("Please enter the number of steps: "); printf("Please enter the number of steps: ");
scanf("%lf", &N); scanf("%lf", &N);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment