看板 FJU-Stat97A 關於我們 聯絡資訊
#include <stdio.h> #include <stdlib.h> int main(void) { int a,b,c; printf("輸入一個整數:"); scanf("%d",&b); for(a=b;a>=1;a--) {for(c=a;c>=1;c--) { printf("¥"); } printf("\n"); } printf("\n"); system("pause"); return(0); } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.136.162.151
terry0968:算你是個阿宅 (跟宅度一樣)140.136.162.156 11/26 16:07
killies:樓上說好點卡勒140.136.162.153 11/26 16:10