What is a Structure ?? and write a c++ program to find the grades of the students using structures???

Recommended Answers

All 2 Replies

When dealing with the students in a college, many variables of different types are needed. It may be necessary to keep track of a name, an address (street, city, state, zip code), an age, an ID number, and a grade point average, for example.

program:

include <iostream>

using namespace std;

// Function Prototypes.
int GetGrades(int,int,int);
int FindAverage(int,int);

int main()// Determine letter grade of the average.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.