Skip to content

Commit a84e83d

Browse files
authored
Merge pull request rage#152 from nghian95/Nghia-Part2/1
Fixing typos in Part 2 / 1 Problems and Patterns
2 parents 315851b + aa2c04f commit a84e83d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/part-2/1-problems-and-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ public class Program {
464464

465465
<!-- Kirjoita ohjelma, joka lukee käyttäjältä kokonaisluvun. Mikäli luku on pienempi kuin 0, ohjelma tulostaa luvun kerrottuna luvulla -1. Muulloin ohjelma tulostaa käyttäjän syöttämän luvun. Alla on muutamia esimerkkejä ohjelman odotetusta toiminnasta. -->
466466

467-
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:
467+
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:
468468

469469
<sample-output>
470470

0 commit comments

Comments
 (0)