#include <iostream>
using namespace std;
class internal
{
  public:
    char name[30];
    int c_quiz,c_assign,c_exam;
    int dtp_quiz,dtp_assign,dtp_exam;
    void c()
    {
        cout<<"\n Enter the Student Name : ";
        cin>>name;
        cout<<"\n Enter the C++ Quiz mark : ";
        cin>>c_quiz;
        cout<<"\n Enter the C++ Assignment Mark : ";
        cin>>c_assign;
        cout<<"\n Enter the C++ Internal Exam Mark : ";
        cin>>c_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;
    }
};
/*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: