0% found this document useful (0 votes)
4 views2 pages

C# Patterns: Diamond, Triangles & Alphabets

exercises
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)
4 views2 pages

C# Patterns: Diamond, Triangles & Alphabets

exercises
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

[Link] a program in C to display the pattern like a diamond.

The pattern is as follows :


*
***
*****
*******
*********
*******
*****
***
*
[Link] a program in C# Sharp to display a right angle triangle with an
asterisk.
The pattern like :
*
**
***
****
3. Write a program in C# Sharp to display a pattern like a right angle triangle
with a number.
The pattern like :
1
12
123
1234
4. Write a C# Sharp program to make such a pattern like a right angle triangle
with the number increased by 1.
The pattern like :
1
2 3
4 5 6
7 8 9 10
5. Write a program in C# Sharp to make such a pattern like a pyramid with
numbers increasing by 1.
1
2 3
4 5 6
7 8 9 10
6. Write a program in C# Sharp to make such a pattern like a pyramid with an
asterisk.
*
* *
* * *
* * * *
7. Write a C# Sharp Program to display the following pattern using the
alphabet.
A
A B A
A B C B A
A B C D C B A
8. Write a C# Sharp program to display an alphabet pattern like A with an
asterisk.
Reversed string is: Display the pattern like 'A' with an
asterisk:

You might also like