Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!!!!!!!

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions