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.
https://www.guru99.com/java-vs-c-sharp-key-difference.html
Comments
Leave a comment