#include <iostream>
using namespace std;
class internal
{
  public:
    char name[30];
    int cpp_quiz,cpp_assign,cpp_exam;
    int dtp_quiz,dtp_assign,dtp_exam;
    void cpp()
    {
        cout<<"\n Enter the Student Name : ";
        cin>>name;
        cout<<"\n Enter the C++ Quiz mark : ";
        cin>>cpp_quiz;
        cout<<"\n Enter the C++ Assignment Mark : ";
        cin>>cpp_assign;
        cout<<"\n Enter the C++ Internal Exam Mark : ";
        cin>>cpp_exam;
    }
    void dtp()
    {
        cout<<"\n Enter the DTP Quiz Mark : ";
        cin>>dtp_quiz;
        cout<<"\n Enter the DTP Assignment Mark : ";
        cin>>dtp_assign;
        cout<<"\n Enter the DTP Internal Exam Mark : ";
        cin>>dtp_exam;
    }
    void display()
    {
        cout<<"\n Your C++ Marks... ";
        cout<<"\n C++ Quiz : "<<cpp_quiz<<"\n C++ Assignment : "<<cpp_assign<<"\n C++ Internal Exam : "<<cpp_exam;
        cout<<"\n\n Your DTP Marks...";
        cout<<"\n DTP Quiz : "<<dtp_quiz<<"\n DTP Assignment : "<<dtp_assign<<"\n DTP Internal Exam : "<<dtp_exam;
    }
};
class external
{
  public:
    int cpp_terminal;
    int dtp_terminal;
    void terminal_cpp()
    {
        cout<<"\n Enter the C++ Terminal Mark : ";
        cin>>cpp_terminal;
    }
    void terminal_dtp()
    {
        cout<<"\n Enter the DTP Terminal Mark : ";
        cin>>dtp_terminal;
    }
    void putdata()
    {
        cout<<"\n Your C++ Terminal Mark : "<<cpp_terminal;
        cout<<"\n Your DTP Terminal Mark : "<<dtp_terminal;
    }
};

/*int main()
{
    internal in;
    in.c;
    return 0;
}*/

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: