New Post

Bermuda Triangle Optimizer

Image
VIDEO LINK The Bermuda Triangle Optimizer (BTO) is a nature-inspired algorithm that simulates a gravity-like pull in the Bermuda Triangle to find optimal solutions. Learn Bermuda Triangle Optimizer (BTO) Step-By-Step using Examples. Video Chapters: Bermuda Triangle Optimizer (BTO) 00:00 Introduction 00:34 About the Bermuda Triangle 02:06 Bermuda Triangle Optimizer  05:44 BTO STEPS 09:30 BTO Advantages 10:17 BTO Limitations 10:42 BTO Applications 11:07 Conclusion Bermuda Triangle Optimizer || Step-By-Step || ~xRay Pixy Video Link:  https://youtu.be/bBnsd7BBttg #optimization #algorithm #metaheuristic #robotics #deeplearning #ArtificialIntelligence #MachineLearning #computervision #research #projects #thesis #Python #optimizationproblem #optimizationalgorithms 

C++ Program to Calculate Area of Rectangle using Objects and Classes.

C++ Program to Calculate Area of Rectangle using Objects and Classes.

Calculate Area of Rectangle: Area = Length * width

Program Output:


Source Code 

#include<iostream>

#include<conio.h>

using namespace std;

class rectangle {

private:

int a, b;

public:

void setdata(int x, int y) 

{

a = x;

b = y;

}

void area()

{

int area = a*b;

cout<<"\n Area of Rectangle = " <<area;

}

};

int main()

{

rectangle r1, r2; //objects

r1.setdata(15,40);  //object r1 called setdate()

cout<<"\nFor First Rectangle ";

r1.area(); // object r1 calls area()

r2.setdata(30,60);  //object r1 called setdate()

cout<<"\nFor First Rectangle ";

r2.area(); // object r1 calls area()

getch();

return 0;

}


Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Grey Wolf Optimization Algorithm

Bat algorithm Explanation Step by Step with example

Grey Wolf Optimization Algorithm Numerical Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy