|
Need help writing a script
Yes, I have read the sticky about homework.. and before you call me a lazy sack, I will have to blame it all on my teacher... He knows almost nothing about the Java, and yet, he is teaching a computer programming class...
This assignment is due soon, and I have no idea how you even start this..Really appreciate it if some1 can do this for me..
Assignment: Create a new 'Array' Project and create a java file that does the following.
-Print your arrays going across the screen(horizontally)
-Creating the arrays should be done in main
-All other tasks should be in separate methods
-Your arrays should be passed as a parameters
-All methods should have a void return type
1.a)Create an array of 100 integers called nums. (All 1000 grades will automatically be initialized to 0)
b) Fill the array with 1000 random numbers between 10 and 99.
c) Print the grades forwards
d) Print the grades backwards.
e) Find the average of the grades and print the average
2 a) Create an array of 6 Strings called names (all 6 names will automatically be initialized to null.)
b) Fill your array with 6 names (you will have to do this individually).
c) Print all names that start with a vowel.
Thank to so much if someone really help me with this!
|