Write a program that creates an array of structures

Assignment Help Data Structure & Algorithms
Reference no: EM13945260

Write a program that creates an array of structures of type Student. The structures must include the following data members (it can have more!):

a. A string to hold a first name of no more than 10 characters;

b. A string to hold a middle name of no more than 10 characters;

c. A string to hold a surname of no more than 20 characters;

d. A string to hold the class of the student(ie., freshman,sophmore,etc.-you decide the length);

e. a float to hold the gpa of the student;

f. A char to hold the gender of the student;

g. An array of 4 floats to hold the four test scores of the students;

h.A double to hold the average of the four scores

In main declare an array of 20 of these structures. Next send each individual member of the array to a function to be initialized(do NOT send the entire array) You may calculate the average of the four integers from this function, if you wish, or you may call another function to perform this function, you MUST send the ENTIRE ARRAY to this output function!

Two last notes: you may use either C-strings or the C++ strings class to represent strings. and second REMEMBER TO USE SYMBOLIC CONTANTS.

Reference no: EM13945260

Questions Cloud

Critical decision the organisation must make : Choose an organisation and write a report for the board about a critical decision the organisation must make based on a current situation. Your report should include:
Decimal digits rather than as a percentage : Calculate BSX's ROA for 20X1 [express the ROA as 3 decimal digits rather than as a percentage, so 0.123 not 12.3%. Don't round so both 0.1236 and 0.1234 should be 0.123] ROA:
Describe how plants evolved from seedless to seeds : Descriptions, such as, PCR, STR, gene drift, gene pool, describe how plants evolved from seedless to seeds, non vascular to vascular, logistic growth, exponential growth, describe an actual biome. please use apa.
What was most recent dividend per share paid on the stock : Teder Corporation stock currently sells for $70 per share. The market requires a 7 percent return on the firm's stock. Required : If the company maintains a constant 4 percent growth rate in dividends, what was the most recent dividend per share paid..
Write a program that creates an array of structures : Write a program that creates an array of structures of type Student. The structures must include the following data members.
Effective change management program : Describe the key elements of an effective change management program. Use at least three unique references. Length: 5-6 paragraphs.
Describe a specific space mission : 2-page report, single spaced, font 12 pts. Times New Roman, and 1 inch margins. Your report should contain a discussion of how anyaspect of what you learned in your visit(s) connects to any class material (Ch. 1 thru 14) covered. Tell me what yo..
Which tissue forms the surface of integumentary system : 1, which tissue forms the surface of integumentary system? why is this tissue well suited to form the surface of integumentary system? 2, what tissue has a solid matrix has an excellent blood supply and works with muscles and tendons and ligaments?
Find five empirical research articles : Research in the University Library to find five empirical (those containing data) research articles. Select articles that are of interest to you andinclude the citations at the end of this document. Place the information for each one in the follow..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd