the aim of this project is to develop a program by using the code segments we have already developed.

others

Description

Aim: the aim of this project is to develop a program by using the code segments we have already developed. Students will appreciate the idea of reusable libraries and will develop a simple re-usable library from the code already developed and use it to develop a different application.


Task: In the LMS you will find a CSV file which gives information about exports and imports of New Zealand from 2015. Download the CSV file, open it in a text editor and look at the data given. Now open the same file in a spreadsheet application and see how the data is presented.


Your task is to develop an application which will display the date (CSV date field) corresponding to the maximum value (export or import depending what user asks). Suppose the user types $ trade exports China, your program should display the date on which New Zealand had the largest exports to China. If one type $ trade imports China the program should display the date on which New Zealand had the largest imports from China. Your program should perform suitable checks to make sure that user given inputs are valid. For example, users should give exactly 2 command line arguments. If the user given country is not there you should provide a suitable error message as well.


Related Questions in others category