c++ project of dmc #include<iostream> #include<fstream> #include<iomanip> #include<conio.h> #include<windows.h> using namespace std; class student { protected : char name[50]; int roll; char board[50]; }; class dmc:public student { protected : float per; int phy; int maths; int cs; int english; public : void getdata() { cout<<"ENTER NAME : "; cin>>name; cout<<"ENTER ROLL : "; cin>>roll; cout<<"PHYSIC MARK : "<<endl; cin>>phy; cout<<"MATHS MARKS :"<<endl; cin>>maths; cout<<"ENTER CS MARKS :"<<endl; cin>>cs; cout<<"ENTER ENGLISH MARKS : "<<endl; cin>>english; } float calculate() { per=(((phy+maths+cs+english)*(100))/400); return per; } double add() { double total...
Connection in php <?php $conn=mysqli_connect("localhost","root","","newdata"); if(!$conn) { die("error in connecting "); } else { echo "successful in connecting "; } ?> Click to watch Video
C++ SIMPLE PROJECT FOR STORYING RECORDS OF STUDENTS POST COMMENT FOR ANY ERROR OR IF YOU HAVE ANY PROBLEM WITH THE CODE #include<iostream> #include<windows.h> using namespace std; int main() { string name[3]; int id[3] ; int count=0; int z; int y; int ch; int k; int roll; int c; int dd; char yy; cout<<"*************************WELLCOME TO DATABASE SYSTM*********************"<<endl; while(1) { cout<<"\t\tpress 1 for entry "<<endl; cout<<"\t\tpress 2 for full data display "<<endl; cout<<"\t\tpress 3 changing : "<<endl; c...
Comments
Post a Comment