|
Hey All I have an assignment where I need to code some stuff in java and need some help with it so all you java techheads read in ;)
"Task 1 Write a simple (console) program in Java (Task1.java), using loops (you may require nested loops) to print the following pattern: ********* ******* ***** *** * *** ***** ******* ********* Thus there are 9, 7, 5, 3, 1, 3, 5, 7 and 9 stars in each of the corresponding rows. Marks distribution for the exercise- Printing correct pattern (using loops): Code commenting: Code indentation: Task 2 Write a console program in Java (Task2.java) that provides two different ways to reverse a string- “rotator”. You can hardcode the string in the program (i.e. you do not have to ask for a user input- you will cover user input later on, in the semester). Thus you will write two functions (obviously with different logics) that will reverse the string. Marks distribution for the exercise- Correct implementation (with an elegant logic): Code commenting: Code indentation: In case you have some special instructions about your program, include them in a readme.txt file. Zip all the files and submit only one zipped file through Weblearn."
those are the two tasks that I need help with if anyone can help me out shout me out an email kthnx!
|