build risc v project

Job ID: 32488163

Budget: €8 – €30 EUR

Task

The program reads the data from the file input.csv (CSV type), which contains some textual and numerical data in the columns. The file contains up to ~ 100 rows in five fields. The first and second fields are text data from 1 to 20 characters length, the other fields are numeric and contain integers from -100 to 100. The fields are separated by semicolons. There are no empty rows or fields in the file. The first column can contain letters, numbers, spaces (‘ ’). The first line in the file contains the field names (up to 10 characters). File encoding is ASCII. Your program must output the information specified in your variant to the output.txt file.


Example input file:

tsk; v; kZ; vMod;Z
A11;Good evening;0;0;5
B12;good day;-100;11;78
B11;table;10;0;55
C1;maple;0;8;17
D21;bridge;-2;10;-15

Variants


Task example. The program outputs only those lines where there are no spaces in the second field; the sum of the third, fourth, and fifth fields is divisible by 5.

Output example for the above input file case:

B11;table;10;0;55
C1;maple;0;8;17

MY TASK: The program outputs the number of four-letter words from the first and second columns