[Solved] COSC 450/550 Project 1 Project 1 Programing in C

$25

File Name: COSC_450/550_Project_1_Project_1__Programing_in_C.zip
File Size: 461.58 KB

SKU: [Solved] COSC 450/550 Project 1 Project 1 – Programing in C Category: Tag:
5/5 - (1 vote)

Specifications:1. This is an individual assignment. You will work on this assignment by yourself.2. Please use the programming language C to create a program to do the following:a. Open and read from the data file, COSC450_P1_Data.txt, which contains some number of integer values (separated by white space character(s)) with the number of integers a multiple of 10. A sample COSC450_P1_Data.txt file will be given to you but your program should be able to process any COSC450_P1_Data.txt file with the above property.b. After read in the data file your program will process the integer values into two matrixes (stored in two dimension arrays): the first one with the dimension 5 * X and the second one X * 5, where X is some value determined by the number of integers in the input data file.c. Output the above two matrixes (in a formatted way) into an output file, COSC450_P1_Output.txt, created by your program.d. Calculate a product matrix (a two-dimension array of long integers) based on the first matrix multiplies the second matrix;e. Write the product matrix out to the same output file, COSC450_P1_Output.txt, by appending it to the end;f. Bonus points for undergraduates (10 points) and required for graduates: sort the product matrix and append it to the end of the above output file, COSC450_P1_Output.txt. Your sorting cannot be done by copy the values out fromthe matrix into a single dimension array then put it back but has to be done on the matrix directly by manipulating the subscripts correctly.3. Please start work on this project earlier. It will take some time for you to get familiar with C to create the program.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COSC 450/550 Project 1 Project 1 Programing in C
$25