# Astronomy Hour of Code

Activity 14: Astronomy - Learn About Declination## Instructions:

The other measure that we need to point our telescope is called Declination, which is comparable to latitude. Declination is measured in degrees and can be a maximum of 90 degrees for the north pole to -90 degrees to the south pole. A line straight out from the center of the earth through the equator is 0 degrees. In this activity, we will collect the value for Declination from the user and store the value in a number variable and then output the answer. We'll use it later for our virtual telescope.

The code should look like this:

```
number declination = cast(number, input("Enter declination in degrees: "))
output "Declination: " + declination
```

When you are ready, select the green Run Program button below the editor on the right (second in the tab order).

## Exploration Challenge (Optional):

When we perform division on integers, if the dividend does not divide evenly by the divisor there is a remainder. In computer programming, if we want to get the value of the remainder, we use the modulus operator, which in Quorum is: **mod**. So if we divide 10 by 3 using the division operator **(10 / 3)** we get 3. If we use the modulus operator instead **(10 mod 3)** we get the remainder 1. Write code to use these operators with **integer** variables. What will the modulus be if the numbers divide evenly?

## Next Tutorial

In the next tutorial, we will discuss Astronomy Hour of Code | Activity 0, which describes Accessible astronomy themed Hour of Code.