Question: Write a program that develops and manipulates data about polling places in struct variables. Create a struct named PollingPlace with these data elements: ( 1

Write a program that develops and manipulates data about polling places in struct variables.
Create a struct named "PollingPlace" with these data elements: (1) street address, a string; (2) location (e.g. school,
firehouse, community center), a string; (3) number of voting machines, an int; and (4) expected number of voters at
that location, an int.
Write a function named "PopulatePollingPlace" which, when called by the main function, will: (1) create a temporar
struct variable; (2) get input from the user to populate the four data members of the struct; and (3) return that struc
to the main program. This function doesn't receive any formal parameters, but definitely returns a struct.
Write a function named "OutputPollingPlace" which, when called by the main function, will output the polling
place's data in a nice, presentable format. This function receives a struct object as its formal parameter. It does not
return anything.
Write your main function to demonstrate this struct by creating and displaying at least 4 struct objects.
 Write a program that develops and manipulates data about polling places

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!