100000566 - 《算法笔记》2.2小节——C/C++快速入门->顺序结构 问题A:例题1-1-1 按要求输出信息(1)

问题 A: 例题1-1-1 按要求输出信息(1)

时间限制: 1 Sec 内存限制: 12 MB

题目描述

编写一个C程序,要求在屏幕上输出一下一行信息。

This is my first c program!

输入

标题

输出

This is my first c program!

样例输入

样例输出

This is my first c program!

经验总结

  1. system(“pause”)的使用
  2. 预处理文件和普通c语言语句的区别

AC代码

#include <stdio.h>
#include<iostream>
int main()
{
	printf("This is my first c program!");
	return 0;
}

发布了13 篇原创文章 · 获赞 0 · 访问量 58

猜你喜欢

转载自blog.csdn.net/weixin_44348004/article/details/105158974
今日推荐