Exercise 1

Try yourself in Exercise 1!

Now it’s your turn.

Tasks

See the solution to the following task on the next page.

Task : Data about size and weight

Create objects for size, height and states

size: 1.67, 1.8, 1.58, 1.83, 1.65, 1.74, 1.8, 1.6, 1.76, 1.8
weight: 62, 78, 56, 85, 58, 70, 70, 120, 62, 90)
state: NRW, Bayern, Sachsen, Hessen, Hessen, MV, Hessen, Brandenburg, Hessen, Berlin

Hint
Common denomination: all letters small, do not use umlauts, numbers or special characters. Keep in mind the different syntax between strings and integers!

Updated: