1.在屏幕上显示一个短句“What is a computer?”。

程序代码为:

#include<stdio.h>

#include<windows.h>

 

int_main()

{

printf(“What_is_a_computer?\n”);

system(“pause”);

return_0;_

2.编程实现在屏幕上显示图形: 

                    * * * * *

                    * * *

                    *

程序代码为:

_#include<stdio.h>

#include<windows.h>

 

int_main()

{

___printf(“*****\n***\n*\n”);

___system(“pause”);

___return_0;

更多推荐

c语言入门基础作业