0% found this document useful (0 votes)
28 views3 pages

Output Screen and Make A Word File, Submit Assignment in Printed Form

The document contains 7 programming problems to solve in C++. The problems involve printing different patterns like inverted half pyramids using numbers, reverse pyramids of stars, digit pyramids, Floyd's triangle, and two different patterns using stars. Students are instructed to write C++ programs to solve each problem, take screenshots of the code and output, and submit the solutions in a printed word file.

Uploaded by

Farrukh Abbasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Output Screen and Make A Word File, Submit Assignment in Printed Form

The document contains 7 programming problems to solve in C++. The problems involve printing different patterns like inverted half pyramids using numbers, reverse pyramids of stars, digit pyramids, Floyd's triangle, and two different patterns using stars. Students are instructed to write C++ programs to solve each problem, take screenshots of the code and output, and submit the solutions in a printed word file.

Uploaded by

Farrukh Abbasi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming Fundamentals

ASSIGNMENT

Note: Run following codes on Dev C++ , take screenshots of code as well as your
output screen and make a word file ,Submit Assignment in printed form.

Problem Statement#1

Write a C++ program to print inverted half pyramid as using numbers

11 11 1

222 2

33 3

44
5

Problem Statement#2

Write a C++ program to display reverse pyramid

*********
*******

*****

***

Problem Statement#3

Write a C++ program to print the pyramid of digits in pattern

123

12345

1234567
123456789

Problem Statement# 4

Write a C++ program to display Floyd's Triangle

23

456

7 8 9 10

Problem Statement#5

Write a C++ program to display following pattern

1* * * *

12 * * *

123 * *

1234 *

12345

Problem Statement#6

Write a C++ program to display following pattern

12345

23456

34567

45678

56789
Problem Statement#7

Write a C++ program to print two pyramids using *

***

*****

*******

*********
*******

*****

***

You might also like