Exercises
Write a program that prints the average value of 100 numbers :
- Generate the numbers using any formula,
- Use an array to store the numbers,
- Write a simple algorithm to find their average.
Write a program that prints a given String in reverse :
- Use String’s method charAt() to retrieve the characters that you need.
Write a method that, when called, returns its String argument in reverse.
Write a program to encrypt and decrypt a given String :
- Use character transposition as the base of your encoding algorithm.