diff --git a/data/part-2/1-problems-and-patterns.md b/data/part-2/1-problems-and-patterns.md index 525e33547..feec7896a 100644 --- a/data/part-2/1-problems-and-patterns.md +++ b/data/part-2/1-problems-and-patterns.md @@ -464,7 +464,7 @@ public class Program { -Write a program, that reads an integer from the user. If the number is less than 0, the program prints the given integer multiplied by -1. In all other cases, the program prints the number itself. A few examples of how the program's expected to funciton are shown below: +Write a program that reads an integer from the user. If the number is less than 0, the program prints the given integer multiplied by -1. In all other cases, the program prints the number itself. A few examples of how the program's expected to function are shown below: