问题 1009: C语言程序设计教程(第三版)课后习题5.7 摘要:#include<cstdio>#include<iostream>using namespace std;int main(){ int a[5]; int i,n,count=0; ci…… 文章列表 2019年01月06日 3 点赞 0 评论 677 浏览 评分:0.0
问题 1008: C语言程序设计教程(第三版)课后习题5.6 摘要:#include<stdio.h>int main(){int score,i; scanf("%d",&score);i= score/10; switch( i ){ c…… 文章列表 2019年01月06日 0 点赞 0 评论 429 浏览 评分:0.0
问题 1007: C语言程序设计教程(第三版)课后习题5.5 摘要:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<1) y=x; else if(x>=1&&x<10) y=2*x-1; else…… 文章列表 2019年01月06日 0 点赞 0 评论 462 浏览 评分:0.0
问题 1006: C语言程序设计教程(第三版)课后习题5.4 摘要:#include<cstdio> #include<algorithm> using namespace std; int main() { int i,a[10]; for(i=0;i<3;i+…… 文章列表 2019年01月06日 0 点赞 0 评论 509 浏览 评分:0.0
问题 1005: C语言程序设计教程(第三版)课后习题4.9 摘要:#include<stdio.h>int main(){ float c,f; scanf("%f",&f); c=5*(f-32)/9; printf("c=%.2f",c); return 0;}…… 文章列表 2019年01月06日 0 点赞 0 评论 457 浏览 评分:0.0
问题 1000: 简单的a+b 摘要:#include<stdio.h> int main() { int a,b,c; while(scanf("%d %d",&a,&b)==2) { c=a+b; …… 文章列表 2019年01月06日 0 点赞 0 评论 434 浏览 评分:0.0
问题 1046: C语言程序设计教程(第三版)课后习题10.4 摘要:#include<iostream> using namespace std; int main() { int *a=new int[1000]; int m,n; …… 文章列表 2019年01月06日 0 点赞 0 评论 614 浏览 评分:0.0
如何理解typedef? 摘要:typedef用法:1、用typedef为现有类型创建别名,定义易于记忆的类型名2、typedef 还可以掩饰复合类型,如指针和数组。例如,你不用像下面这样重复定义有 81 个字符元素的数组: …… 文章列表 2019年01月02日 1 点赞 0 评论 1352 浏览 评分:9.9
关于1019题的看法。 摘要:下面给出我的代码;#include <stdio.h>#include <math.h>void main(){ double h,sum=0; int M,N; scanf("%d %d",&M,&…… 文章列表 2019年01月01日 1 点赞 0 评论 568 浏览 评分:9.9
自己编译一下看走不走得出去 摘要:#include <stdio.h>#include <conio.h>#include <windows.h>#include <time.h>#define Height 1001#define …… 文章列表 2018年12月30日 2 点赞 0 评论 557 浏览 评分:0.0