编写一个c程序,运行时输出以下图形 ***** ***** ***** *****
时间: 2023-07-05 09:25:07 浏览: 162
以下是能够实现您要求的C语言程序:
```c
#include <stdio.h>
int main() {
printf("***** ***** ***** *****\n");
return 0;
}
```
输出结果为:
```
***** ***** ***** *****
```
希望能够帮助到您!
相关问题
编写一个C程序,运行时 输出以下图形****
以下是一个简单的程序,可以输出图形:
```c
#include <stdio.h>
int main() {
printf("****\n");
return 0;
}
```
如果需要输出多行图形,可以使用循环语句:
```c
#include <stdio.h>
int main() {
int i;
for (i = 0; i < 4; i++) {
printf("****\n");
}
return 0;
}
```
这个程序会输出四行星号图形。
编写一个c程序运行时输出以下图形 ***** ***** ***** *****
以下是可以输出该图形的 C 代码:
```c
#include <stdio.h>
int main() {
printf("***** *****\n");
printf("***** *****\n");
printf("***** *****\n");
printf("***** *****\n");
return 0;
}
```
运行该程序会输出以下内容:
```
***** *****
***** *****
***** *****
***** *****
```
相关推荐
![ppt](https://img-home.csdnimg.cn/images/20210720083527.png)
![ppt](https://img-home.csdnimg.cn/images/20210720083527.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)