Suggested exercises:
- Ask the user for his (or her) age, which will be stored in a "byte". Then the program will say that he looks younger (eg, "You do not look like being 20 years old").
- Ask the user for two two-digit numbers ("byte"), calculate their multiplication, which should be stored in a "ushort" and displayed on screen.
- Ask the user for two long integers ("long") and show how much is their sum, their subtraction and their product.
No comments:
Post a Comment