Learn to Program with ZedLX

Free Online Programming Course for Beginners

The if Statement [4/16]

This program rolls two dice 19 times and notifies you if it gets two equal numbers.
[Run the program]

Exercise:

Modify the program such that it also outputs the sum of the two rolled numbers.
[Run the program]

Loading...