#include <stdio.h> int main() { int n = 0;//n个朋友 scanf("%d", &n);//输入 int i = 0;//遍历所用 for (i = 0; i < n; i++) { printf("Happy new year!Good luck!\n");//打印输出 } return 0; }
#include <stdio.h> int main() { int n = 0;//n个朋友 scanf("%d", &n);//输入 int i = 0;//遍历所用 for (i = 0; i < n; i++) { printf("Happy new year!Good luck!\n");//打印输出 } return 0; }