当前位置:网站首页>[C Prime plus chapitre II Questions de programmation après la Classe]
[C Prime plus chapitre II Questions de programmation après la Classe]
2022-06-28 23:41:00 【Le restaurant impérial essaie toujours.】
2.1
#include <stdio.h>
int main (void)
{
printf("Gustav Mahler\n");
printf("Gustav\n");
printf("Mahler\n");
printf("Gustav Mahler");
return 0;
}
//
// Created by Chen on 2022/6/26.
//
2.2
#include <stdio.h>
int main (void)
{
printf("Diago\n");
printf("China");
return 0;
}
//
// Created by Chen on 2022/6/26.
//
2.3
#include <stdio.h>
int main (void)
{
int year;
year=30;
printf("%d %d",year,year*365);
return 0;
}
//
// Created by Chen on 2022/6/26.
//
2.4
#include <stdio.h>
void jolly (void);
void deny (void);
int main (void)
{
jolly();
deny();
return 0;
}
void jolly (void)
{
printf("For he's a jolly good fellow!\n");
printf("For he's a jolly good fellow!\n");
printf("For he's a jolly good fellow!\n");
}
void deny (void)
{
printf("Which nobody can deny!");
}
//
// Created by Chen on 2022/6/26.
//
2.5
#include <stdio.h>
void br (void);
void ic (void);
int main (void)
{
br();
ic();
printf("India,China\n");
printf("Brazil,Russia");
return 0;
}
void br (void)
{
printf("Brazil,Russia,");
}
void ic (void)
{
printf("India,China\n");
}
//
// Created by Chen on 2022/6/26.
//
2.6
#include <stdio.h>
int main (void)
{
int toes;
toes=10;
printf("%d %d %d",toes,2*toes,toes*toes*toes);
return 0;
}
//
// Created by Chen on 2022/6/26.
//
2.7
#include <stdio.h>
void smile (void);
int main (void)
{
smile();
smile();
smile();
printf("\n");
smile();
smile();
printf("\n");
smile();
return 0;
}
void smile (void)
{
printf("Smile!");
}
//
// Created by Chen on 2022/6/26.
//
2.8
#include <stdio.h>
void one_three (void);
void two (void);
int main (void)
{
printf("starting now:\n");
one_three();
two();
printf("three\n");
printf("done!");
return 0;
}
void one_three (void)
{
printf("one\n");
}
void two (void)
{
printf("two\n");
}
//
// Created by Chen on 2022/6/26.
//
边栏推荐
- C interview questions_ 20220627 record
- Machine learning 4-dimension reduction technology
- 油猴脚本学习
- Implementation of dynamic timer for quartz
- 百度知道爬虫,根据问题id,线索id,评论id获取评论下面的对话
- 【OpenCV】—线性滤波:方框滤波、均值滤波、高斯滤波
- VSCode里使用条件断点(基于GDB)
- [state machine design] Moore, Mealy state machine, three-stage, two-stage and one-stage state machine writing specification
- 【狀態機設計】Moore、Mealy狀態機、三段式、二段式、一段式狀態機書寫規範
- I can't sleep
猜你喜欢

MATLAB 学习笔记(6)MATLAB 的 upsample 函数和 downsample 函数

Chapter II Classic synchronous exercises
![[stm32 Hal library] RTC and BKP drives](/img/72/c2c46377d0a2a5a032802640ca0201.png)
[stm32 Hal library] RTC and BKP drives

stm32F407-------IO引脚复用映射

Stm32f407----- capacitive touch button

Rongyun communication solution solves the pain points of enterprise communication

Stm32f407 ------ serial (serial port) communication
![[word Tutorial Series Part 1] how to remove arrows in word tables](/img/c7/dc57002b0e9d433c4dfac15d53713d.png)
[word Tutorial Series Part 1] how to remove arrows in word tables

The picture display on the left of the two column layout is determined by the content height on the right

第二章 经典同步练习作业
随机推荐
[stm32 Hal library] RTC and BKP drives
At the end of June, how many people in Kangkang are ready to change jobs
ERROR 1067 (42000): Invalid default value for ‘end_time‘ Mysql
Cmake tutorial (I)
MSCI 2022 market classification assessment
华为22级专家十年心血终成云原生服务网格进阶实战文档,是真的6
Windows10 phpstudy installing redis extension
Design e-commerce seckill system
机器学习4-降维技术
Learning fuzzy from SQL injection to bypass the latest safe dog WAF
入行数字IC验证后会做些什么?
stm32F407-------电容触摸按键
[software analysis] iterative explanation of software analysis, design and modeling
力扣(LeetCode)178. 分数排名(2022.06.27)
ERROR 1067 (42000): Invalid default value for ‘end_ time‘ Mysql
融云通信解决方案 破解企业沟通痛点
ROS2中的行为树 BehaviorTree
是使用local_setup.bash 还是 setup.bash
The picture display on the left of the two column layout is determined by the content height on the right
【OpenCV】—线性滤波:方框滤波、均值滤波、高斯滤波