Robert X.
asked 10/26/21BlueJ Questions
If you could write it in the format of BlueJ(Java). That would be great but if not that's ok
1) Write programs with for loops that compute
a. The sum of all even numbers between 2 and 100 (inclusive).
b. The sum of the squares of the numbers between 1 and 100 (inclusive). 12 + 22 + 32 + ...1002
2) Write programs with while loops that read a sequence of integer inputs and print:
a. The smallest and largest of the inputs.
b. The number of even and odd inputs.
- Hint: users may enter as many numbers as they want, so you need to give them the option to end their input by entering q or something.
- Please don't print until you reach the end.
3) Write a program that reads a line of input as a string and prints the number of vowels in the string.
4) Write a program that reads a word and prints each character of the word on a separate
line. For example, if the user provides the input "Harry", the program prints
H
a
r
r
y
5) Write a program that reads a word and prints the word in reverse. For example, if the
user provides the input "Harry", the program prints yrraH
6)Simulate the Monty Hall problem
1 Expert Answer

Jordon T. answered 11/23/21
The more I teach, the more I learn.
I have answered the first two questions you put forward. I can work on the rest between tonight and tomorrow.
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Preston Z.
Hi Robert, I would be happy to help you with with this programming problem in a tutoring session if you are still looking for help.11/01/21