[Solved] CS 52 -Programming Assignment #1

30 $

File Name: CS_52_-Programming_Assignment_#1.zip
File Size: 301.44 KB

SKU: [Solved] CS 52 -Programming Assignment #1 Category: Tag:

Or Upload Your Assignment Here:


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

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS 52 -Programming Assignment #1
30 $