diff --git a/src/standard_input/floating_point_numbers.md b/src/standard_input/floating_point_numbers.md index 7780a990..c21c2fec 100644 --- a/src/standard_input/floating_point_numbers.md +++ b/src/standard_input/floating_point_numbers.md @@ -7,9 +7,9 @@ you get from `IO.readln` into a `double` using `Double.parseDouble`. void main() { String gpaString = IO.readln("What is your GPA? "); double gpa = Double.parseDouble(gpaString); - IO.println("You're GPA is " + gpa); + IO.println("Your GPA is " + gpa); } ``` So long as they type something which can be interpreted as a `double` (like `123` or `14.5`) -you will get a value for the `double` variable. Otherwise the program will crash. \ No newline at end of file +you will get a value for the `double` variable. Otherwise, the program will crash.