题目内容
读下列程序,写出程序的运行结果。#include void PrintStar (int m);int main (void){int i, n;scanf("%d", &n);for(i = 1; i <= n; i++)PrintStar(i);return 0;}void PrintStar (int m){int i;for (i = 1; i <= m; i++)putchar('*');putchar ('\n');}输入:5输出:
查看答案
搜索结果不匹配?点我反馈