Ramazan is near to end but EID & Exam are coming :P
whops its time to聽repatriation because campus sir to agree to arrange sir for CS402 the automata :S聽
No title available
$LAYYYTER
Stranger Things
will byers stan first human second
Claire Keane
noise dept.
Monterey Bay Aquarium
Misplaced Lens Cap

@theartofmadeline
Xuebing Du

if i look back, i am lost
I'd rather be in outer space 馃浉
cherry valley forever
YOU ARE THE REASON

绁濇棩 / Permanent Vacation
No title available
"I'm Dorothy Gale from Kansas"

Kiana Khansmith

PR's Tumblrdome
Sade Olutola
seen from Chile
seen from United States
seen from United States

seen from Germany

seen from United States

seen from United States
seen from United States

seen from United States
seen from United States

seen from Mexico

seen from Malaysia

seen from Singapore
seen from Chile

seen from Colombia

seen from United States
seen from Singapore
seen from United States
seen from Canada

seen from Malaysia
seen from Canada
@zee-vu
Ramazan is near to end but EID & Exam are coming :P
whops its time to聽repatriation because campus sir to agree to arrange sir for CS402 the automata :S聽
Find not so much but CS :P
Counter strike on the rock :P
start code on my upcoming assignment, do you like to add your experience :P welcome everyone :)
You are required to write a C++ program which contains a class studentInfo having聽 following data members:
聽 Student ID
Course ID
Course Name
聽聽聽聽聽聽聽聽 The class must have the following member functions:
聽 路聽聽聽聽聽聽聽 Parameterized constructor
路聽聽聽聽聽聽聽 Setter functions
路聽聽聽聽聽聽聽 Getter functions
Display function
stay tune i'll update the code soon My Code :)
#include<iostream> 聽 聽 聽 聽 聽 // header file
using namespace std;
class studentInfo 聽 聽 聽 聽 聽 聽// Class for student info
{
聽 private:
聽 聽 聽 聽 聽char * stdId; 聽 聽 聽 聽 聽 聽聽
聽 聽 聽 聽 聽char * courseId; 聽 聽 聽
聽 聽 聽 聽 聽char * courseName; 聽 聽 聽
聽 public:
聽 聽 聽 聽 聽studentInfo(char* sId, char* cId, char * cName) ; 聽 聽 聽 聽 // parameterized constructor declaration 聽聽
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // public Functions for setting and getting thte values.
聽 聽 聽 聽 聽void set_stdId(char *); 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽// setter member function declarations
聽 聽 聽 聽 聽void set_courseId(char *);
聽 聽 聽 聽 聽void set_courseName(char *);
聽 聽 聽 聽 聽char * get_stdId(); 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // getter member function declarations.
聽 聽 聽 聽 聽char * get_courseId();
聽 聽 聽 聽 聽char * get_courseName() ;
聽 聽 聽 聽 聽void display(); 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // member function Display聽
};
main()
{
聽studentInfo obj("MC123456789","CS201","Introduction to programming"); 聽 聽 聽 //object creation by using parameterized constructor.
聽obj.display(); 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽// Displaying values.
聽system("pause");
}
// Function definations
聽 studentInfo::studentInfo(char* sId, char* cId, char * cName) 聽 聽 聽 聽 聽// parameterized constructor
{
聽set_stdId(sId) ;
聽set_courseId(cId); 聽 聽 聽 聽 聽 聽
聽set_courseName(cName); 聽 聽 聽 聽 聽聽
} 聽 聽 聽
void studentInfo::set_stdId(char *sId) 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // Setter function to set student ID
{
聽stdId=sId; 聽 聽聽
}
void studentInfo::set_courseId(char * cId) 聽 聽 聽 聽 聽 聽 聽 聽 聽// Setter function to set course ID 聽 聽 聽聽
{
聽courseId=cId; 聽 聽
}
void studentInfo::set_courseName(char * cName) 聽 聽 聽 聽 聽 聽 聽// setter function to set course name
{
聽courseName=cName; 聽 聽
}
char * studentInfo::get_stdId() 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // Getter Function return student ID
{
聽return stdId; 聽 聽聽
}
char * studentInfo::get_courseId() 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // Getter Function return course ID
{
聽return courseId; 聽 聽聽
}
聽 聽 聽聽 char * studentInfo::get_courseName() 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽// Getter Function return course name
{
聽return courseName; 聽 聽聽
}
void studentInfo::display() 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 // Display member functionn to display student id, course id and course name
{
聽cout<<"Student Id: 聽" << get_stdId()<<endl; 聽 聽
聽cout<<"Course Id: 聽" << get_courseId()<<endl;聽
聽cout<<"Course Name: 聽" << get_courseName()<<endl; 聽 聽聽
}
聽If you find any error tell me :)
First day Statistics class :P normal distribution :)