Write a program that enumerate some auto's brands.
Then create a variable called
my_car_brand and make it equal to one of them. Print a message saying hello to the user.
Write a simple program:
Create a clas called Rectangle.It should contain a constructor for width and height, a function that returns the area and a friend fucntion that duplicate the rectangle's dimensions. In the main, creaate a rectangle instance, duplicate it and print out the area.
Create a class called Box with a variable: width of type double. Inside the class define a constructor and a friend that prints the width value(printWidth).
main() define a Box instance, set values and call printWidth.