Skip to content

Commit cc0b623

Browse files
authored
Update print-an-integer.mdx
Added a link to https://javaistic.vercel.app/docs/basic-input-output
1 parent f152551 commit cc0b623

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/programs/print-an-integer.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The integer is stored in a variable using `System.in`, and is displayed on the s
1212
To understand this example, you should have the knowledge of the following Java programming topics:
1313

1414
- [Java Hello World Program](/docs/hello-world)
15-
- Java Basic Input and Output
15+
- [Java Basic Input and Output](/docs/basic-input-output)
1616

1717
## 1. Print an Integer
1818

@@ -90,4 +90,4 @@ Then, `Enter a number` prompt is printed to give the user a visual cue as to wha
9090

9191
If you enter any character which is not an integer, the compiler will throw an `InputMismatchException`.
9292

93-
Finally, `number` is printed onto the standard output `(System.out)` - computer screen using the function `println()`.
93+
Finally, `number` is printed onto the standard output `(System.out)` - computer screen using the function `println()`.

0 commit comments

Comments
 (0)