25.1.16

Index of C++ OOP Programming

C++ Program Structure -I

C++ Program Structure -II

C++ Variables, Identifiers and Data Types

Declaration of variables

Exercise Week-1: Variable, Datatype and Initialization

C++ : Object and Class with a traditional BOX example

C++ : Inheritance with BASE & DERIVED Classes 

Example: Salary Calculation using Inheritance in C++

C++ : Illustration of Overloading  in C++ with a example of real problem solution 

Example: Student Management System using Function Overloading using OOP in C++

C++ loadable and non-over loadable Operators

C++ : How Polymorphism works in C++ with implementation guideline


C++ : How Data Abstraction occurs in C++

C++ : Encapsulation with example in C++

C++ : Interfaces with real world problem solution in C++

Compound Data Types: Arrays in C++

Compound Data Types: Pointer in C++

Functions in C++ Programming Environment

OOP-Exercise : Classes and Objects with Constructor -cum- Destructor in C++

OOP-Exercise : Problems and Solutions on Encapsulation in C++

OOP-Exercise: Inheritance with problems and solutions in C++

OOP-Exercise-1 : Arithmetic Operators with operands as input

OOP-Exercise-2 : calculate square and cube of given number using inline function

OOP-Excercise-3 : Write a program to calculate simple interest using Function and also using Member variable/function in C++ OOP

OOP-Excercise-4.1 : Find the area of a triangle, area of a circle, and  area of rectangle using function overloading technique in C++

Function Programming : Excercise-4.2 : Check Whether the given number is Strange or Not.

OOP-Excercise-5 : Check Whether the given number is Strange or Not.

OOP-Excercise-6 : Write a Object Oriented Program to Display Student Information

OOP-Excercise-7 : Search an integer element from an Array of 10 values. Use Constructor and Destructor with Class in C++

OOP-Excercise-8 : Check whether the given number by user is palindrome or not palindrom. Use individual member function to take input, output and display. Use Inheritance in C++

OOP-Excercise-9 : Program to find area of triangle, circle, and rectangle using C++ Overloading

OOP-Excercise-10 : Check palindrome. Use Inheritance technique

Function-Excercise-11 : Recursive function to fill an Integer Array of 5 Elements

Function-Excercise-12 : Sum of all even elements from an Array

C++_Excercise-13 : Find ODD or EVEN

C++_Excercise-14 : Count the number of character

OOP-Excercise-15 : Banking System

OOP-Excercise-16 : Array Programming

C++_Excercise-17 : Function Programming

C++_Excercise-18 : Recursive Function Programming

C++ Definition gallery of object oriented programming

Inheritance in C++ to check a Perfect Number (C++_Excercise-19)

Constructor in c++ to Sum of all multipliers by given range

Inheritance in c++ to generate a Fibonacci series

Design a Payroll system using Single INHERITANCE in C++

Recursion in C++

Pay-Bill Calculation using OOP in C++

Write a C++ program using using inline function to find the largest of three integer numbers

Sort an array of integer in ascending order

Implement function overloading in C++

Create a 'DISTANCE' class

Create a class called 'EMPLOYEE'

Create a class called 'TIME'

Create a class 'COMPLEX' to hold a complex number

Create a 'MATRIX' class of size m X n

Derive a class ‘MAT’ from MATRIX class

illustrate multilevel inheritance

Illustrate multiple inheritance

Create a 'STRING' class which overloads ‘ = = ' operator

Write a C++ program to illustrate ‘this’ pointer

Create a base class called 'SHAPE'

C++ program to read a list

Design your own manipulator

C++ program that uses a single file

C++ program to read the file and output the list in the tabular format

Write an interactive, menu-driven program

Write a C++ program that displays the size

Define a function to find the minimum value contained in an array

Class template to represent a generic vector

Calculator using C++

simple interest using c++

array programming in c++

comparison operator in c++

conditional operator in c++

sum of all digits from an integer number using c++

find prime numbers and make sum of all primes using c++

find prime and check with the sum of all primes using c++

print strange number between 1 and 100000

print all integer which are divisible by 3 using c++

letter with loop c++

calculate total= 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 using c++

how to compare char in c++

switch statement in c++

how to find the smallest string in C++

switch statement in c++

Develop a Calculator using Constructor with Parameter in c++

Find the Area of Circle and Rectangle using Multilevel Inheritance in C++

Integer Array Search Using Constructor and Method in C++

Count the number of digit from an Integer Number given by user

Write a C++ program which will count digit from an integer number. The input(integer number) must be given by user from keyboard. This program will ask to the user for number of test to count the digit.

9 comments:

  1. Name: Taslima Akter
    ID-201720079
    Batch-55
    Program: hello world
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }
    Taslima Akter
    ID-201720079
    Batch-55
    Program: Highest value
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }
    Name: Taslima AKter
    ID-201720079
    Batch-55
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }
    Name: Taslima Akter
    ID-201720079
    Batch-55
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }
    Name:Taslima Akter
    ID-201720079
    Batch-55
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }

    ReplyDelete
    Replies
    1. Answer is not in proper place.

      Delete
  2. Name:Taslima Akter
    ID-201720079
    Batch-55
    Program: hello world
    #include
    using namespace std;
    int main()
    {
    cout<<"hello world";
    return 0;
    }
    Name:Taslima Akter
    ID-201720079
    Batch-55
    Program: Highest value
    #include
    using namespace std;
    class large
    {
    public:
    int prob(int x,int y,int z)
    {
    if(x>y)
    {
    if(x>z)
    {
    cout<z)
    {
    cout<>a;
    cout<<"b value:";
    cin>>b;
    cout<<"c value:";
    cin>>c;
    cout<
    using namespace std;
    class prob
    {
    public:
    int c,d;
    int sum(int x,int y)
    {
    return(x+y);
    }
    int avag(int x,int y)
    {
    return(x+y)/2;
    }


    };
    int main()
    {
    int a,b;
    prob cal;
    cout<<"enter value: "
    cin>>a;
    cout<<"enter value:";
    cin>>b;
    cout<
    using namespace std;
    class check
    {
    public:
    int cal(int x)
    {
    if(x%2==0)
    {
    cout<<"this is an even number";

    }
    else
    {
    cout<<"this is an odd number";
    }
    return 0;
    }
    };
    int main()
    {
    check a;
    int n;
    cin>>n;
    cout<
    using namespace std;
    class vote
    {
    public:
    int age;
    int cal(int x)
    {
    if(age<=18)
    {
    cout<>n;
    cout<<a.cal(n);
    return 0;
    }

    ReplyDelete
  3. Name: Taslima Akter
    ID-201720079
    Batch-55
    program name-find quotient and remainder
    #include
    using namespace std;
    class cal
    {public:
    float c;
    int d;
    int quotient(int a,int b)
    {
    c=b/a;
    return c;
    }
    int remainder(int a,int b)
    {
    d=b%a;
    return d;
    }
    };
    int main()
    {
    cal obj;
    int x,y;
    cout<<"enter the value:";
    cin>>x;
    cout<<"enter the value:";
    cin>>y;
    cout<<"quotient:"<<obj.quotient(x,y);
    cout<<"remainder"<<obj.remainder(x,y);
    return 0;
    }

    ReplyDelete
  4. Name-Taslima Akter
    Id-201720079
    Batch-55

    program-multiple inheritance
    #include
    using namespace std;
    class digit
    {
    public:


    int getinput(int a ,int b)
    {
    val_1=a;
    val_2=b;
    }

    protected:
    int val_1;
    int val_2;
    };
    class prob
    {
    public:
    int getdata(int c)
    {
    val_3=c;
    }
    protected:
    int val_3;
    };

    class temp:public digit,public prob
    {
    public:

    int data()
    {
    return(val_1*val_2*val_3);
    }

    };
    int main()
    {

    temp obj;
    int x,y,z;
    cout<<"enter the value:";
    cin>>x;
    cout<<"enter the value:";
    cin>>y;
    cout<<"enter the value:";
    cin>>z;
    obj.getinput(x,y);
    obj.getdata(z);
    cout<<obj.data();
    return 0;
    }

    ReplyDelete
    Replies
    1. Answer is not in proper place

      Delete
  5. Name-Taslima Akter
    Id-201720079
    Batch-55

    program-multiple inheritance
    #include
    using namespace std;
    class digit
    {
    public:


    int getinput(int a ,int b)
    {
    val_1=a;
    val_2=b;
    }

    protected:
    int val_1;
    int val_2;
    };
    class prob
    {
    public:
    int getdata(int c)
    {
    val_3=c;
    }
    protected:
    int val_3;
    };

    class temp:public digit,public prob
    {
    public:

    int data()
    {
    return(val_1*val_2*val_3);
    }

    };
    int main()
    {

    temp obj;
    int x,y,z;
    cout<<"enter the value:";
    cin>>x;
    cout<<"enter the value:";
    cin>>y;
    cout<<"enter the value:";
    cin>>z;
    obj.getinput(x,y);
    obj.getdata(z);
    cout<<obj.data();
    return 0;
    }

    ReplyDelete
  6. // Taslima akter
    Id:201720079
    Batch:55 //
    1: Program code:
    #include
    using namespace std;
    class check
    {
    public:
    check(int x)
    {
    if(x%2==0)
    {
    cout<<"this is an even number";

    }
    else
    {
    cout<<"this is an odd number";
    }
    //return 0;
    }
    };
    int main()
    {
    check a(3);

    return 0;
    }
    2: program code
    #include
    using namespace std;

    class base
    {
    public:
    int a=2,b=7,c=5;

    int ract()
    {
    return a*b;
    }
    };
    class derive: public base
    {
    public:
    int tri()
    {
    return (a*b/2);
    }

    float circle()
    {
    return 3.14*c*c;
    }

    };
    int main()
    {
    derive obj;
    obj.ract();
    obj.tri();
    obj.circle();
    cout<

    public:
    void data()
    {
    for(int i=0;i<=5;i++)
    {
    cin>>a[i];
    }
    }
    protected:
    int a[5];
    };
    class derive1:public poly
    {


    public:
    int sum=0;
    void prob()
    {
    for(int i=0;i<=5;i++)
    {
    sum=a[i];
    }
    }
    };
    class derive2:public derive1
    {
    public:

    void num()
    {
    if (sum%2==0)
    {
    cout<<"even";
    }
    else
    {
    cout<<"odd";
    }
    }
    };
    int main()
    {
    derive2 obj;
    poly *obj2=&obj;
    obj2->data();
    obj.num();
    obj.prob();
    return 0;

    }

    ReplyDelete
    Replies
    1. Submit answer in proper palce

      Delete

Comment Here