Commit e37e7c4b by makuks

Update Homework1.c

parent b40951e4
Showing with 1 additions and 1 deletions
...@@ -21,7 +21,7 @@ double denominator; ...@@ -21,7 +21,7 @@ double denominator;
printf("Please enter the number of steps: "); printf("Please enter the number of steps: ");
scanf("%lf", &N); scanf("%lf", &N);
if(N < 0){ if(N < 0){
printf("Please enter a positive number of steps.\n") printf("Please enter a positive number of steps.\n");
} }
}while(N < 0); }while(N < 0);
......
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