# Challenges

## Printing Personalized Hello

Create a program that prints out a message to the user saying hello and stating your name.

For example:

```
Hello, this application was developed by Nico De Witte.
```

## Fix the Syntax Errors

Fix the syntax errors in the following applications. Take note of the different error messages given by NetBeans.

### Application 1

```java
public static void main(String[] args) {
    System.out.println("Hello world")
}
```

### Application 2

```java
public static void main(String[] args) {
    System.out.println("Hello user");
    System.out.printn("I am a student at VIVES University");
    System.out.print("I really like playing games and going out.\n");
}
```

### Application 3

```java
public static void main(String[] args) {
    System.out.println("I have a total of " + 124 " achievements on Steam.");
}
```

### Application 4

```java
public static void main(String[] args) {
    System.out.println("The circumference of the planet is " + "40,075 km";
}
```

### Application 5

```java
public static void main(String[] args) {
    system.out.println("One programmer said to another:");
    system.out.println("I need a </br>");
}
```

## Personal Details

Create an application that prints out some personal information about yourself, like for example:

* your name
* your age
* your height
* your weight
* the color of your eyes
* ...

Try to concatenate strings with actual numbers like for example:

```java
System.out.println("I am " + 3 + " feet tall");
```

## Escape Characters

Try to output the information below using Java. Make sure to use escape characters to create extra new lines, tabs and such.

```
Hello there. I am a student learning to program.
I follow courses at VIVES University. Their address is
    Spoorwegstraat 12
    8200 BRUGES

My favorite course is "Object Oriented Programming".

You can find the course documents @ https://vives.gitbook.io/oop-with-java/
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vives.gitbook.io/oop-with-java/starting-in-java/challenges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
