Midterm assignment given from Serkan İŞLEYEN.
- JDK 11+
- Clone the package
- Sync maven packages
- Build and run anywhere
You can find out the cases given from lecturer at below.
Point | Case |
---|---|
10 | Split the given sentence by space character and return list of words. |
10 | Return the longest word and word length in a sentence. |
10 | Reverse the given number and return new number with old number. |
35 | Construct a one-dimensional array of numbers with the given number of elements. Assign the elements of the array (1-9) randomly from numbers. Rotate each of the 3 sequences, by assigning the odd divisions to a 2nd row within this sequence, and the even teams to a 3rd row. |
10 | Return the volume of the cone, whose radius and height are given, with an accuracy of 2 digits after the comma. |
25 | Print the factorial values of the numbers up to (including i) given i (calculation with the 'recursion' method +5 points) to the factorial.txt file you will create, line by line. Return the result of the operation (successful / unsuccessful) and the address of the file. |