Object Oriented Programming Practical 6
Object Oriented Programming Practical 6 Question 1 Write a C++ program to calculate area of Rectangle using Inline function. rectangle.cpp C #include <iostream.h> #include <conio.h> inline int calculateArea(int length, int width) { return length * width; } void main() { int length, width; cout << "Enter the length of the rectangle: "; cin >> length; […]
Object Oriented Programming Practical 6 Read More »