education.mu
Welcome,
Guest
. Please
login
or
register
.
May 23, 2012, 05:59:27 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Welcome to the free discussion forum. Ask your questions and we shall answer you immediately. Everyday new notes are added on the forum.
988
Posts in
592
Topics by
4706
Members
Latest Member:
Sameerchand2012
education.mu
BCS (British Computer Society)
Software Development
C++ Creating a dynamic array of structures
« previous
next »
Pages:
[
1
]
Author
Topic: C++ Creating a dynamic array of structures (Read 1832 times)
drumkill
Newbie
Offline
Posts: 2
C++ Creating a dynamic array of structures
«
on:
June 11, 2009, 12:12:04 PM »
Put together a program that keeps track of monetary contributions to the Society for the Preservation of Rightful Influence. It should ask the user to enter the number of contributors and then solicit the user to enter the name and contribution of each contributor. The information should be stored in a dynamically allocated array of structures. Each structure should have two members: a character array (or else a string object) to store the name and a double member to hold the amount of the contribution. After reading all the data, the program should display the names and amounts donated for all donors who contributed $10,000 or more. This list should be headed by the label Grand Patrons. After that, the program should list the remaining donors. That list should be headed Patrons. If there are no donors in one of the categories, the program should print the word “none.” Aside from displaying two categories, the program need do no sorting.
Need to do this in C++.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Tuition 2011
-----------------------------
=> Tuition 2011
-----------------------------
SC (FIV - FV)
-----------------------------
=> Travel and Tourism
=> Français
=> EnglishLanguage
=> Mathematics
=> Principles of Accounts
=> Economics
=> Business Studies
=> Physics
=> Biology
=> Chemistry
=> Additional Mathematics
=> Computer Studies
-----------------------------
HSC (LVI - UVI)
-----------------------------
=> General Paper
=> Accounting
=> Physics
=> Chemistry
=> Computing
=> Mathematics
=> Français
-----------------------------
Law
-----------------------------
=> LLB - General Information
=> Common Law Reasoning and Institutions
=> Criminal Law
=> Elements of the Law of Contract
=> Public Law
-----------------------------
ACCA
-----------------------------
=> ACCA - General Information
=> F1
=> F2
=> F3
-----------------------------
Tertiary Education
-----------------------------
=> Web Technologies
=> Management and Finance
=> Computer Networks
=> Information Security
=> Programming in Python
-----------------------------
BCS (British Computer Society)
-----------------------------
=> Software Development
-----------------------------
General Category
-----------------------------
=> Driving Tips
=> Forum Rules
=> General Discussion
=> Happy Birthday Messages
Loading...