• Home
  • Outdoor Adventure
    • Hiking
    • Backpacking
    • Camping
    • Caving
  • Travel
  • Life Style
    • Diploma Life
    • Degree Life
    • Work and Part Time
  • Code Test and Project
  • FYP

Jack Hau Story

facebook twitter instagram
Busy on final exam assignment, come have a game CDP RUSHING STUDENT – A blessed event! It was a great success! playing games like korean run man. challenge some program.
Students from each courses of CDP will take part in this competition to have an Intellectual challenge among the course mates.





Share
Tweet
Pin
Share
No comments
wake-up at early morning 6am, 7am McDonald as breakfast. 8am going pudu central buy tickets, only 11am have available tickets. two hours waiting at pudu central crazy but more time to selfie zhiting.

 Theme park playing roller coaster. This is a one day trip we are taking 6pm bus going down KL. 10 pm reach. Nice trip
Share
Tweet
Pin
Share
No comments


try out the lab quastion
The suggested output is as shown below.

class Marks {
private:
    string name;
    float gpa;
    char grade;
public:
    string set_name()
    {
        cout << "===================================\n";
        cout << "ENTER INFORMATION \n";
        cout << "===================================\n";
        cout << "Enter name : ";
        getline(cin, name);
        return name;
    }
    float set_gpa()
    {
        cout << "Enter CGPA : ";
        cin >> gpa;
        return gpa;
    }
    char set_grade()
    {
        if (gpa >= 3.00 && gpa <= 4.00) {
            grade = 'A';
        }
        else if (gpa >= 2.00 && gpa <= 2.99) {
            grade = 'B';
        }
        else if (gpa >= 0.00 && gpa <= 1.99) {
            grade = 'F';
        }
        return grade;
    }
};
void main()
{
    Marks M;
    string n;
    float gp;
    char gr;
    n = M.set_name();
    gp = M.set_gpa();
    gr = M.set_grade();
    cout << "\n===================================\n";
    cout << " RESULT SLIP \n";
    cout << "=================================== \n";
    cout << "Name : " << n << endl;
    cout << "GPA : " << gp << endl;
    cout << "Grade : " << gr << endl;
    system("PAUSE");
}
Share
Tweet
Pin
Share
No comments
Newer Posts
Older Posts

About me



Jack is a programmer, hiker who loves to take challages. Programming can be hard, but no pain no gain. Beside that, Jack like to use cooking for stress relief. “Cooking is a great destresser because it serves as a creative outlet”. During cooking the chef have to well handle of food ingredients. “Cooking is like giving birth because you are mixing things together to create something new and wonderful.”

Labels

Backpacking Camping car Caving Code Test and Project Degree Life Diploma Life Event FYP Hiking Mountain Internship MMU Cyberjaya MMU Melaka Outdoor Adventure Part Time and Work Penang Singapora Thailand Trip and Travel

recent posts

Follow Us

Blog Archive

  • ►  2018 (2)
    • ►  May (1)
    • ►  January (1)
  • ►  2017 (8)
    • ►  August (2)
    • ►  July (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2016 (22)
    • ►  December (3)
    • ►  November (1)
    • ►  October (2)
    • ►  September (3)
    • ►  July (1)
    • ►  May (2)
    • ►  April (6)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (3)
    • ►  December (1)
    • ►  September (2)
  • ►  2014 (19)
    • ►  October (1)
    • ►  September (2)
    • ►  July (4)
    • ►  June (5)
    • ►  April (2)
    • ►  March (3)
    • ►  January (2)
  • ▼  2013 (10)
    • ►  December (2)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ▼  August (3)
      • CDP Rushing Student
      • Diploma gang Genting Trip
      • Coding C++ Simple Member Function
    • ►  June (2)
  • ►  2012 (4)
    • ►  September (1)
    • ►  June (2)
    • ►  February (1)
  • ►  2011 (2)
    • ►  December (1)
    • ►  August (1)
Powered by Blogger.