create a program that solves the area of a rectangle

What have you tried so far?