diff --git a/src/pages/programs/print-an-integer.mdx b/src/pages/programs/print-an-integer.mdx index c304d8b2..b1d3c5c8 100644 --- a/src/pages/programs/print-an-integer.mdx +++ b/src/pages/programs/print-an-integer.mdx @@ -12,7 +12,7 @@ The integer is stored in a variable using `System.in`, and is displayed on the s To understand this example, you should have the knowledge of the following Java programming topics: - [Java Hello World Program](/docs/hello-world) -- Java Basic Input and Output +- [Java Basic Input and Output](/docs/basic-input-output) ## 1. Print an Integer @@ -90,4 +90,4 @@ Then, `Enter a number` prompt is printed to give the user a visual cue as to wha If you enter any character which is not an integer, the compiler will throw an `InputMismatchException`. -Finally, `number` is printed onto the standard output `(System.out)` - computer screen using the function `println()`. \ No newline at end of file +Finally, `number` is printed onto the standard output `(System.out)` - computer screen using the function `println()`.