Hey guys.. i am currently doing my java assignment can i dont get how to do this question.

A) Using the for statement, write a Java program that reads 10 integer values from the user and prints the highest value entered.

B) Using a relevant conditional loop, write a Java program that determines and prints the number of times the character 'a' appears in a String object called name. State your assumption.

C) Write a Java program that prints the characters stored in a String object called str backwards.

It will be great if i could get help!

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

Post what you have done so far and someone will help you from there.

I am not going to show you the whole code.
A) But as a heads up, you accept a user unput
check if it's not a negative number
limit the user input to below 10 hint use a for loop
then after getting all the user inputs check the highest value

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.