4条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
qq_28452899 2017-11-26 02:16最佳回答 专家已采纳for( int i = 1 ; i <= 5 ; i ++ ){
for( int j = 1 ; j <= i ; j ++ ){
printf( "*" ) ;
printf( "\n" ) ;
}
}
for( int i = 6 ; i <= 9 ; i ++ ){
for( int j = 1 ; j <= 9-i ; j ++ ){
printf( "*" ) ;
printf( "\n" ) ;
}
}采纳该答案 已采纳该答案 专家已采纳评论解决 无用打赏举报微信扫一扫
分享评论登录 后可回复...
查看更多回答(3条)
报告相同问题?
提交
相关推荐 更多相似问题
- 2017-11-26 01:54回答 4 已采纳 for( int i = 1 ; i <= 5 ; i ++ ){ for( int j = 1 ; j <= i ; j ++ ){ printf( "*" ) ; printf(
- 2020-12-06 00:15回答 1 已采纳 #include<stdio.h> #include<string.h> main() int m,n,k; char s[]={"A,B,C,D,E,F,G"};
- 2021-06-03 14:09回答 1 已采纳 #include <iostream> #include <string> using namespace std; class STR { private: ch
- 2018-12-03 09:35回答 2 已采纳   eng2zh = {} for i in range(int(num)): s = input("请输入单词及译文(单空格分隔):")
- 2020-12-10 17:45回答 2 已采纳 c#不用你手动销毁对象 当对象没有被引用后 或自动销毁 比如把aperson=null gc会自动回收
- 2020-03-21 20:13回答 1 已采纳 char c[100] sprintf(c, "%s ......", c1); MessageBox(NULL, c, "提示", MB_ICONINFORMATION|MB_OK);
- 2021-08-17 15:47回答 2 已采纳 代码如下,有帮助麻烦点个采纳【本回答右上角】,谢谢~~有其他问题可以继续交流~ using System; using System.Threading; namespace ConsoleAppl
- 2020-05-19 11:40回答 1 已采纳 问题解决的话,请点采纳 ``` // Q1073621.cpp : Defines the entry point for the console application. // #inc
- 2020-04-07 13:00回答 2 已采纳 ``` class Point{ public: Point(); Point(int x, int y); voidsetPoint(int x, int y); int getx(
- 没有解决我的问题, 去提问