Question: IN C PROGRAMMING LANGUAGE!!!!!!! Lets say you have 2 structures, a peg, and a hole. Each peg will either be circular, or have x number
IN C PROGRAMMING LANGUAGE!!!!!!!

Lets say you have 2 structures, a peg, and a hole. Each peg will either be circular, or have x number of sides, and each peg will be circular or have x number of sides. Each peg and hole is also color coded. Your job is to match each peg to every hole it could fit into and that's the same color. The holes should be loaded from a file, and the user should enter every peg at the start of the program. After that, the user should be presented 5 choices: Print to a file what pegs match what holes Add a peg .Remove a peg University of Massachusetts Dartmouth CIS 190: Computer Programming with C View all pegs of a certain color and shape in I have provided some pseudocode to assist you. Make sure you free your memory! Example input for holes: color1 sidesl color2 Lets say you have 2 structures, a peg, and a hole. Each peg will either be circular, or have x number of sides, and each peg will be circular or have x number of sides. Each peg and hole is also color coded. Your job is to match each peg to every hole it could fit into and that's the same color. The holes should be loaded from a file, and the user should enter every peg at the start of the program. After that, the user should be presented 5 choices: Print to a file what pegs match what holes Add a peg .Remove a peg University of Massachusetts Dartmouth CIS 190: Computer Programming with C View all pegs of a certain color and shape in I have provided some pseudocode to assist you. Make sure you free your memory! Example input for holes: color1 sidesl color2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
