简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"void main(){ int a,b; printf("Please input two number:\n"); …… 题解列表 2017年09月06日 0 点赞 0 评论 835 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"**************************"<…… 题解列表 2017年09月06日 3 点赞 0 评论 1023 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:解题思路:这是用户海洋之心的代码,我只是加了点注释,可能注释不是很规范易懂注意事项:参考代码:#include<stdio.h>void move(int a[],int n,int m);int m…… 题解列表 2017年09月07日 0 点赞 0 评论 926 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路: 程序正确,但总是提醒答案错误,是因为结果超出了变量可表示的范围 注意事项: 使用unsigned long int 类型。 参考代码:#include<stdio…… 题解列表 2017年09月08日 0 点赞 0 评论 941 浏览 评分:0.0
回文数(一) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int n);int fx(int n);int main(){ int M,L,count; scanf("%…… 题解列表 2017年09月08日 0 点赞 0 评论 1286 浏览 评分:0.0
上车人数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int add(int a,int n,int Y){ if(n==1) return a; else if(n==2) r…… 题解列表 2017年09月08日 0 点赞 0 评论 1333 浏览 评分:0.0
大小写转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; int i; while(g…… 题解列表 2017年09月08日 0 点赞 0 评论 1103 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:先计算该月第一天是该年第几天,然后再根据该日为该月第几天,通过相加把最后结果计算出来。注意事项:注意闰年的计算参考代码:#include"stdio.h"typedef struct …… 题解列表 2017年09月08日 1 点赞 0 评论 898 浏览 评分:0.0
ASCII帮了大忙 摘要:解题思路:1.将输入以字符串方式读取2.通过ASCII判断除了"."的每一个字符是否在0-9之间。注意事项:进行数字运算时要将字符型强制转换为整型。参考代码:#include <stdio.h>#in…… 题解列表 2017年09月09日 0 点赞 0 评论 1056 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { int a; printf ("please en…… 题解列表 2017年09月10日 0 点赞 2 评论 419 浏览 评分:0.0