You will need to complete the following objectives as a C# Windows Form Application:
1. When the program starts the user needs to be asked if they want to make a new entry or to
view a previous entry
2. If the user wants to make a new entry, the first question will be how many meters they
travelled (this will then need to be converted into kilometers)
3. The second question will give the user 3 options to choose from, and each option will have a
value. The options are as follows:
a. Hatchback = 3
b. SUV = 3.5
c. Sports car = 4.
When the user has selected an option that options value needs to be multiplied by the
distance they travelled in kilometers
4. The third question will allow the user to entera description, of where they travel to and why
did they travel there.
5. All the information above needs to then be saved into a JSON file
6. If the user says he want to view a previous entry the JSON file needs to be loaded and
displayed.
Design and analyze and code a method for generic mArrayList that will manipulate tge linkedlist
Given a number N, create a 2D arrays with n rows and n columns. Now inspect the matrix pattern below and come up with a formula to populate the array for any give NXN matrix.
Given a number N, create a 2D arrays with n rows and n columns. Now inspect the matrix pattern below and come up with a formula to populate the array for any give NXN matrix.
Write a java program that accepts given n number of marks for a PRG510S test, and stores them into an array named marks. After all marks have been entered your program should accomplish the following:
[n - to be provided by user input]
a) Find and display the highest mark
b) Find and display the lowest mark
c) Compute and display the average mark
(Above tasks (a, b, and c should be accomplished using only one loop)
Write a java program that specifies three parallel one dimensional arrays name length, width, and area. Each array should be capable of holding a number elements provided by user input. Using a for loop input values for length and width arrays. The entries in the area arrays should be the corresponding values in the length and width arrays (thus, area[i] = length [i]* width [i]) after data has been entered display the following output:
Create a method cled checkUniform() tgat returns true or false and checks if the filled bottles in the watersort game are identical or not
Given a number N, create a 2D arrays with n rows and n columns. Now inspect the matrix pattern below and come up with a formula to populate the array for any give NXN matrix.
5 4 3 2 1
10 8 6 4 2
15 12 9 6 3
20 16 12 8 4
25 20 15 10 5
Sample Run1
Enter a number (N): 5
Output1:
5 4 3 2 1
10 8 6 4 2
15 12 9 6 3
20 16 12 8 4
25 20 15 10 5