Posts

Source code

Code is here 👇👇  <html> <head> <style> body{ font-family: Facial sans; font-size: 10em; } .box{ margin-left: 150px; } .search{ width: 920px; height: 80; border-style: solid; margin-left: 25px; border-radius: 50px; } .search_box{ width: 100%; height: 100%; border: none; border-radius: 50px; text-aling: center; padding:  5px; font-family: Facial sans; font-size: 50px; } .btn{ width: 250px; height: 80px; padding: 5px; margin: 380px; border: none; background-color: #ffeb3b; font-size: 50px; color: #000; border-radius: 50px; margin-top: 20; } .btn:hover{ background-color: black; color: white; text-size: 5em; } </style> </head> <body> <div class= "box" > <b style= "color:blue" >   G </b> <b style= "color:red" >   o </b> <b style= "color:yellow" >   o </b> <b style= "color:blue" >   g </b> <b sty...

Source code by skeleton programmer

  #include<iostream>  #include<windows.h>  using namespace std ;  int main(){ string name,answer; int roll_no,star; cout<<"<0======Welcome======0>"<<endl;   sleep(1);  cout<<"S T U D E N T   L O G I N"<<endl;  cout<<"Loding.........................."<<endl;  for(int i=1;i<=1;i++){   sleep(1);   cout<<"..................."<<endl;   cout<<".........................."<<endl;   }   sleep(1);  cout<<"Enter your name "<<endl;   cin>>name;   cout<<"Enter your Roll No "<<endl;   cin>>roll_no;   cout<<"Your info is saved "<<endl;   cout<<endl;   sleep(1);   cout<<"Do you want your info?"<<endl;   cin>>answer;   if(answer == "yes"){   sleep(1);   cout<<"Your name:- ...

c++ simple game project #cpp #codewithharry

 I hope you Subscribe my channel  Source code #include <iostream> #include <windows.h> using namespace std; //Created by:- skeleton programmer  // I hope you Subscribe my channel  void start() {     string name, answer;     for(int i=1; i<=1;i++){      cout<<"S"<<endl;      sleep(1);        cout<<"T"<<endl;      sleep(1);        cout<<"A"<<endl;      sleep(1);        cout<<"R"<<endl;      sleep(1);        cout<<"T"<<endl;      sleep(1);                 }     cout << "\nLet's Start the Game " << endl;     sleep(1);     cout << "Enter your name " << endl;     cin >> name;     cout <...

Source code is here

  #include <iostream> #include <cmath> #include <cstdlib> #include <ctime> using namespace std; int main (){   srand(time(0));   const int size=60;   cout << "Enter a letter to begin \n " ;   char x; cin>> x;   int position = size /2;   while (true) {     cout << "|START|" ;     for ( int i=0; i<size;i++) {       if (i == position)         cout << x;       else cout << " " ;}     cout << "|FINISH|" << endl;     int move= rand()%3 - 1;     position = position + move;     if (position <1) {cout << "You could not finish the race!" <<endl; break ;}     if (position >size-1) {cout << "Yay! You finished the race" << endl; break ;} ...

how to make inheritance program in c++ very easy

 Source code  /* Make by:- skeleton programmer like & subscribe my channel */ #include <iostream> //#include<conio.h> using namespace std; //example of inheritence. //source code in discription. class base { private :     int a; public :     int b,c;     int setDataA() {         a = 6;     }     int setDataB() {         b = 483;     }     void display() {         c = a + b;         cout<< "The value of a + b \n" <<a<< " + " <<b<< " = " <<c<<endl;     } }; class derived: public base { public :     string name  = "Like & subscribe" ;     void display1() {      ...

how to find area of rectangle in c++

 Source code  #include <iostream> #include <conio.h> using namespace std; int main() { //find the area of rectangle int l,b; cout<< "Enter the value of 'l'-" ; cin>>l; cout<< "Enter the value of 'b'-" ; cin>>b; cout<< "The area of rectangle is=>" <<l*b;  getch(); cout<< "\nmake by:- " <<endl; cout<< "S K E L T O N " <<endl; cout<< "P R O G R A M M E R " <<endl;     return 0; }

For loop use and print 1 to 100 real number in c++

Image
         T E C H O R Z O      Y T          Source code is here  I am a small YouTuber and a beginar programmer. So you can help to grow my channel.i have 48 subscriber please help to get 100 subscriber. So please subscribe my channel. this is my blog and you can follow the blog i am daily upload for a new blog and the latest topic  rleted blog and many more.               Video is here #include <iostream> using namespace std; int main(){ //created by :-  T E C H O R Z O  for ( int a = 1; a<101; a++){ cout<< "EDIT TEXT " <<a<<endl; }     return 0; }

Friend function example with surce code in c++,

 Simple Friend function  #include<iostream> using namespace std; class myclass{ int a, b; public: friend int add(void); friend int sub(void); void setval(){ cout<<" value of a: "; cin>>a; cout<<"value of b: "; cin>>b; } }; int add(void){ myclass obj; obj.setval(); int tenp; //cout<<"A + B = "<<obj. a + obj.b; tenp =  obj.a + obj. b; return tenp; } int sub(void){ myclass obj ; obj. setval(); int temp; temp = obj. a - obj.b; return temp; } int main(){ int result,result2; result = add(); cout<<result<<endl; result2 = sub(); cout<<result2; return 0; }

Source code is here

                          #Code is here  #include <iostream> using namespace std; int main() {     for ( int i = 0; i<5; i++){           // cout<<""     cout<< "      oo     " <<endl;     cout<< "     oooo    " <<endl;     cout<< "    oooooo   " <<endl;     cout<< "   oooooooo  " <<endl;     cout<< "  oooooooooo " <<endl;     cout<< " oooooooooooo " <<endl;     cout<< "oooooooooooooo " <<endl;     cout<< "oooooooooooooo " <<endl;     cout<< " oooooooooooo " <<endl;  ...

#code C++ 2021

 Welcome to my blog.you can  SUBSCRIBE   my YouTube channel.               Code is here #include <iostream> #include <string> using namespace std; int main() {     const   int a= 2021;     int b;     const int c= 365;     const int d = 80;     cout << "Enter your date of birth: " ;     cin>>b;     cout<< "your Age is now: " <<((a-b))<<endl;     cout<< "your Available Age is: " <<((a - b)-d);     cout<< "\n your Age in Days: " <<((a-b)*c);     cout<< "\nyour Available Age in days:\n " <<(((a-b)-d)*c);     cout<< "\nYour Age in weeks: " <<(((a - b)*c)/7)<< " weeks" ;     return 0; }