مثال برمجي 7 : Write a program to display a full pyramid using stars pattern
- 2020-10-29
توصيف
السؤال من كورس ال Programming الخاص بي
Write a program to display a full pyramid using stars pattern
*
***
*****
*******
*********
الحل:
/**************************************************************************************************
Name : ex20.c
Author : Mohamed Elsayed
Description : Assignment 1 - Ex 20
**************************************************************************************************/
#include
int main(void)
{
int i, j, rows;
printf("Enter number of rows: ");
scanf("%d",&rows);
printf("\n");
/* Loop for each row */
for(i=0;i
لمزيد من التفاصيل يرجى التواصل معي