- 博客(9)
- 收藏
- 关注
转载 实验六
#include <stdio.h> #include <string.h> #include <windows.h> #include <stdlib.h> int average(int q,int b,int c) { int av; av=(q+b+c)/3; return av; }int average1(i...
2019-06-06 14:51:00
184
转载 实验五
// 4556.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include<stdio.h>int add(int x,int y){ int a; a=x+y; return a;}int minus(int x,int y){ int a; a=x-y;...
2019-06-06 12:32:00
92
转载 实验四
#include<stdio.h>int main() { int i,p,q,temp; int a[10]; for(i=0;i<10;i++) scanf("%d",&a[i]); for(q=0;q<9;q++) { for(p=0;p<9-q;p++) { if(a[p]<a[p+1]) ...
2019-05-23 14:35:00
93
转载 实验3
// 888.cpp : Defines the entry point for the console application. //#include "stdafx.h" #include <stdio.h>int main(int argc, char* argv[]) {int a,s; s=0; for(a=22;a<102...
2019-05-09 15:08:00
81
转载 实验2
// 222.cpp : Defines the entry point for the console application. //#include "stdafx.h" #include <stdio.h>int main(int argc, char* argv[]) {char a[5]; int i; for(i=0;i<9;i++...
2019-04-25 15:53:00
94
转载 实验
#include <stdio.h>#include <math.h>int main(){ float a,b,c; float s,area; printf("请输入三角形的三条边:\n"); scanf("%f,%f,%f",&a,&b,&c); if(a+b>c&a...
2019-04-25 15:33:00
128
转载 实验1
// 03.cpp : Defines the entry point for the console application. //#include "stdafx.h"#include<stdio.h> int main() {int a,b,sum; a=123; b=456; sum=a+b; printf("sum is %d\n",sum); ...
2019-04-11 14:02:00
99
转载 作业2
// 22.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "stdlib.h"#include "stdio.h"#include "time.h"int main(int argc, char* argv[]){int i;char c,gu;...
2019-03-27 21:18:00
70
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人