Click here to Skip to main content
15,897,273 members

Comments by coderlearner (Top 19 by date)

coderlearner 18-Jun-22 12:09pm View    
Deleted
#include<iostream>
#include<conio.h>
using namespace std;
class student
{
int id;
float t1,t2,t3;
char name[50];
public:
student()
{
}
student(int a,int b,int c)
{
t1=a;
t2=b;
t3=c;
}
student(student &t )
{
t1=t.t1;
t2=t.t2;
t3=t.t3;
}
void display();
void read();
};
void student::read()
{
cout<<"enter the name"<<endl;
cin="">>name;
cout<<"enter the id"<<endl;
cin="">>id;
cout<<"enter the mark 1"<<endl;
cin="">>t1;
cout<<"enter the mark 2"<<endl;
cin="">>t2;
cout<<"enter the mark 3"<<endl;
cin="">>t3;
}
void student::display()
{
cout<<"the student values are";
cout<<"the name"<<"="<
coderlearner 1-May-22 7:58am View    
Sir since you are so kind at helping I am requesting you to go through the new question I have posted.dont think I am over dependent but I need a understandable code to get started with that concept .
coderlearner 1-May-22 7:57am View    
Deleted
Sir since you are so kind at helping I am requesting you to go through the new question I have posted.dont think I am over dependent but I need a understandable code to get started with that concept .
coderlearner 1-May-22 7:45am View    
Sir it was taught in my class to use getch if we use conio.h as a header file
coderlearner 1-May-22 7:45am View    
Deleted
Sir it was thought in my class to use getch at the end if we use #includeconio.h