[Solved] CS 52 -Programming Assignment #1

$25

File Name: CS_52__Programming_Assignment__1.zip
File Size: 301.44 KB

SKU: [Solved] CS 52 -Programming Assignment #1 Category: Tag:
5/5 - (1 vote)

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 DP 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.0The Perimeter Of A Square With 1 Side Of This Length = 200.0 inchesThe Perimeter Of An Equilateral Triangle With 1 Side Of This Length = 150.0 inches

Shopping Cart

No products in the cart.

No products in the cart.

[Solved] CS 52 -Programming Assignment #1
$25