[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define MAX_OF_THREE(a, b, c) ( (a) …… 题解列表 2024年09月01日 0 点赞 0 评论 308 浏览 评分:0.0
2914: 铺地毯 摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us…… 题解列表 2024年09月01日 0 点赞 0 评论 251 浏览 评分:9.9
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define LEAP_YEAR(y) (((y) % 4 == 0 …… 题解列表 2024年09月01日 0 点赞 0 评论 371 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#include <math.h>#define AUM(a,b,c) …… 题解列表 2024年09月01日 0 点赞 0 评论 334 浏览 评分:0.0
输入两个整数,求他们相除的余数。用带参的宏来实现,编程序。 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define AUM(a,b) c=a%b;int main(){ …… 题解列表 2024年09月01日 0 点赞 0 评论 571 浏览 评分:0.0
定义一个带参的宏,使两个参数的值互换,并写出程序,输入两个数作为使用宏时的实参。输出已交换后的两个值。 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)// 定义一个带参的宏,用于交换两个数的值#define chang(a…… 题解列表 2024年09月01日 1 点赞 0 评论 843 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2024年09月01日 0 点赞 0 评论 535 浏览 评分:0.0
计算三角形面积 摘要:#include<stdio.h>#include<math.h> //主要是用pow函数double changdu(double x1,double x2,double y1,double y2)…… 题解列表 2024年08月31日 0 点赞 0 评论 290 浏览 评分:8.0
各位大佬看看我的 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void SumAge(char a[4]) { for (size_t i = 0; i <4; i++) { …… 题解列表 2024年08月31日 1 点赞 0 评论 214 浏览 评分:0.0
大象喝水零基础题解 摘要:我们先敲出来C语言的基础框架#include <stdio.h>int main(){ return 0 ;}题目是说问大象喝几桶才能喝够20升同时输入的是cm,这两个很明显不是对应的关系,需要…… 题解列表 2024年08月31日 0 点赞 0 评论 386 浏览 评分:9.9