# CS 52 -Programming Assignment #1 Solved

25.00 \$

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . ` zip` solution files instantly, after Payment

## Description

Project 1:Â Winter Break!

Write a C++ program that displays something you did or happened to you over the Winter break on screen in large letters.Â  There should be no input, only output.Â  For example, I went to painted my bathroom walls, so my output would look like:

PPPPÂ Â Â  AÂ Â  IIIIIÂ NÂ Â  N TTTTT EEEEE DDDDÂ Â  !
PÂ Â  PÂ  A AÂ Â Â  IÂ Â Â NNÂ  NÂ Â  TÂ Â  EÂ Â Â Â  DÂ Â  DÂ  !
PPPPÂ  AAAAAÂ Â  IÂ Â  N NÂ NÂ Â  TÂ Â  EEEÂ Â  DÂ Â  DÂ  !
PÂ Â Â Â  AÂ Â  AÂ Â  IÂ Â  NÂ  NNÂ Â  TÂ Â  EÂ Â Â Â  DÂ Â  D
PÂ Â Â Â  AÂ Â  A IIIII NÂ Â  NÂ Â  TÂ Â  EEEEE DDDDÂ  !!!

Generate this output by usingÂ coutÂ statements.

Project 2:Â Square and Triangle

Write a C++ program that accepts a single numeric value which will serve as the length of the side of an equilateral triangle or the length of a square.Â  Compute the perimeter of each one by using the formula:Â Â Â Â Â perimeter = 3 * sideÂ Â Â Â  for the triangle and Â Â Â Â Â perimeter = 4 * sideÂ Â Â for the square .Â  The program dialog should look like this:

Enter a side length (in inches):Â 50.0
The Perimeter Of A Square With 1 Side Of This LengthÂ =Â 200.0 inches
The Perimeter Of An Equilateral Triangle With 1 Side Of This Length =Â 150.0 inches

• 01_output_solution.zip