Question:
Classes and Objects (Advance) cs201_6 assignment?
Imran Hameed (BC080400629@Vu.edu
2009-06-24 05:58:01 UTC
Assignment No. 06
Semester: Spring 2009
CS201: Introduction to Programming
Total Marks: 20

Due Date:23/06/2009

Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:

 The assignment is submitted after due date.
 The submitted assignment does not open or file is corrupt.
 All types of plagiarism are strictly prohibited.

Note: You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted. If you will submit code in .doc (Word document) you will get zero marks.

Objective
The objective of this assignment is to provide hands on experience of using

 Classes and Objects (Advance)


Guidelines
 Code should be properly aligned and well commented.
 Follow c/c++ rules while writing variables names, function names etc
 Use only dev-C++ for this assignment.
Assignment

Problem Statement:
Write a c++ program which consists of two classes:
1. Date
2. Student
First class Date should contain three data members:
Day
Month
Year
Date also contain following member functions:
Setter function
Getter function
showdate()

Now second class Student should have following three data members:
ST_ID
Name
Ad_date
Where ID and Name are char pointer while Ad_date (Date of Admission) is of type Date.

Student class should contain two member functions:
Display()
setdate()
Now in main function create an object of Class Student and call the member functions with it.
--------------------------------------------------------------------------
Sample output:

Name: Ali
ID: BC020400000
Admission Date: 12-08-2008


Deadline
Your assignment must be uploaded/submitted on or before 23-06-2009
Four answers:
hockeyking_21
2009-06-24 06:08:11 UTC
1. Your deadline has passed.

2. You haven't asked a question or posted any code, so I'm assuming you want someone to do it for you, which isn't going to happen. Do your own homework and ask for specific help if you get stuck.
no1home2day
2009-06-24 06:06:56 UTC
Oh-kay. And your question is ... ?



Or did you expect us to do your overdue homework FOR you?



Keeping in mind the following quote from your assignment:



"It should be clear that your assignment will not get any credit if:



 The assignment is submitted after due date."



and keeping in mind that the due date was yesterday (06/23/2009) and today is 06/24/2009, why are you even bothering us with this?
anonymous
2009-06-24 06:10:48 UTC
All types of plagiarism are strictly prohibited. hm... academic dishonesty.. in a college course... hm... do like paying for other people to get the education you are going to say you have in by having other people do you work for you? Use your head, google around, maybe read your book, it's really not that complicated once you learn the syntax and get a rough understanding of how classes and object work, oh wait, that's the point of the assignment... my bad...
shanda
2016-05-24 11:47:25 UTC
How about a potted mum, plenty of lines there.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...