Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Structure with streaming in c++ 2011
#1
Create a program that will prompt the user to enter how many students she/he wants to enrol. After the user inputs the number of students, the program will ask the user to enter the following:
-student number (max length is 10)
-Firstname
-Middlename
-Surname
-Course
-Year
-no. of units
Then the program will compute for the tuition of each student and the total tuition fee of those students enrolled. To compute for the tuition fee: (no.unitsxamountperunit)+miscellaneous fee (amountperunit is assigned to be 800.00 and miscellaneous is 2000.00)
[Image: shoutcastStructure.jpg]

Requirements of the program:
• Use structure named “TF”(with 3members:units,punits,misc) & “studre” (with 7 membersno,Sname,Fname,Mname,course,year,fees) note*** member ” fees” is considered as a field/object of structure “TF”.
• Use iterative structure in dealing with the number of records
• Maximum of 5 and minimum of 1 student per transaction of enrolment
• Use exception handling in errors (if number of enrolment is 0 or negative)
• For student number: only accept 10digit number without any character

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  call by value, call by reference,call by pointer in data structure 2012 Vuhelper 0 4,333 01-04-2012, 10:28 PM
Last Post: Vuhelper
  Balance of the AVL tree im Data structure 2012 Vuhelper 0 1,901 01-04-2012, 10:27 PM
Last Post: Vuhelper
  array project code c++ 2011 Vuhelper 0 1,274 12-10-2011, 06:32 PM
Last Post: Vuhelper
  factorial in C++ code 2011 Vuhelper 0 945 12-10-2011, 06:31 PM
Last Post: Vuhelper
  why we use queues data structure for level order traverse? Vuhelper 0 2,465 11-05-2011, 05:26 PM
Last Post: Vuhelper
  Linklist Data Structure Vuhelper 0 1,896 11-05-2011, 05:11 PM
Last Post: Vuhelper
  stack during function call in C++ 2011 Vuhelper 0 2,027 11-05-2011, 05:05 PM
Last Post: Vuhelper
  What is the Thing Queue? in c++ 2011 Vuhelper 0 1,785 11-05-2011, 05:02 PM
Last Post: Vuhelper
  ASCII to char conversion code in C++ 2011 Vuhelper 0 1,721 11-05-2011, 05:01 PM
Last Post: Vuhelper
  How to write a summation in a sequence? C++ 2011-12 Vuhelper 2 1,355 09-19-2011, 04:53 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)