Questions
Study the ASCII table.
- What do you notice about the distribution, grouping, of characters in the table?
- What do you notice about the codes assigned to the lower and upper case characters?
- What is the binary equivalent for the character 'a'?
- What is the binary equivalent for the character 'A'?
- Write a program that accepts a single lower case character from the user and prints its upper case equivalent without using the built-in method
ToUpper()
Additional Exercises
- Write a program that reads from the console the radius "r" of a circle and prints its area and circumference.
- Write a program that reads two numbers from the console and prints the greater of them. Can you solve this problem without using conditional statements? (Hint: The library
Math
contains methods forMax
andMin
) - Write a program that reads five integer numbers and prints their sum. If an invalid number is entered the program should prompt the user to enter another number.
- Research how to print Unicode characters to the console using .NET (C#).
- Read and do the tutorial on selection in C#