30. To print all odd numbers from 1 through 49, one next to the other with a space in between.
31. To print 30 times the word good on the screen one below the other.
32. To compute the sum of the series: $1 + 3 + 5 + 7 + \dots + 99$.
33. To store the numbers 9, 15, 4, 18, and 7 in an array.
34. Write a method named calcPsums that receives an integer array as a parameter and finds the sum of the
positive integers in the array and returns the sum.