Pergunta de entrevista da empresa AMD

Write a C++ program with a class that accepts 2 variables that computes the area of a rectangle.