Coding:
#include
int main (void){
printf("*\n*\n*\n*\n*\n");
system("pause");
}
Output:
*
*
*
*
Press any key to continue . ...
2.
Coding:
#include
int main (void){
printf("*\n**\n***\n****\n*****\n");
system("pause");
}
Output:
*
**
***
****
*****
Press any key to continue . ...
3.
Coding:
#include
int main (void){
printf(" *\n **\n ***\n ****\n*****\n");
system("pause");
}
Output:
*
**
***
****
*****
Press any key to continue . ...
ไม่มีความคิดเห็น:
แสดงความคิดเห็น