Assignment
1
1. Write a C++ program, prog01a.cpp, that does
the following things:
1. Use
one output statement to print your first and last names on one line.
2. Use
one output statement to print your first and last names on two lines.
3. Use
two output statements to print your first and last names on one
line.
Make sure your program is running
correctly and producing nice looking output.
2. Write a second C++ program, prog01b.cpp,
that does the following things:
1. Request
a value for a radius and read that
value in.
2. Calculate
the circumference and area of a circle with the given radius.
3. Print
the circumference and area of the circle.
4. Request
a value for side and read that value
in.
5. Calculate
the perimeter and area of a square with the given side.
6. Print
the perimeter and area of the square.
Make sure your program is running
correctly and producing nice looking output.