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6t0fRU3zD9/6T44yony+hCKdkf6oLmPWC8x8RHN/El87s32AHMd7gJlORKU/GfWZ6az0AbNeYOYj6pn5yOKgsocnYN6oD9jppVTzyKjvbI/xaJ49ndU4wJ6judzP6keM+jqjPhX/O/6a5m/m23wcraJ6+gLxXlzPPOwQ+R71UA/ZHIz2Mqp5d7DiESDXa7jOtKo9IthXybRmPkaMarK9KI5YRsVTxXslJyPyN9LSXtkccB3pzxj1vwv3n8Hz8GzZmd9xhqb5rnyLj6NV9IUCXDt74Zz2sYr2V49A54DrFb+r+aeY9dUzKqzz+tn6LqK+M2Y+VSPaO3GuEz7vRPtxTs86Bzu+Xn0eMuurZ1RY5/XvOkfTfEc+4uOoaZqmaZrmVXzLv5DdNE3TNE2zx48f/wMGxyCjLvoEtwAAAABJRU5ErkJggg==" alt="" />

解决代码及点评


/*
输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。
写三个函数:①输入10个数;②进行处理;③输出10个数。
*/
#include<stdio.h>
#include <stdlib.h> int a[10];
void f721(int *a)//输入10个数
{
for (int i=0;i<10;i++)
{
a[i]=rand()%100;
printf("%d\t",a[i]);
}
} void f722(int *pmax,int *pmin,int *a,int *p1,int *p2)//进行处理
{ for (int i=0;i<10;i++)
{
if (*pmin>a[i])
{
*pmin=a[i];
*p1=i;
}
if (*pmax<a[i])
{
*pmax=a[i];
*p2=i;
}
}
//最小数和第一个数交换
a[0]=a[0]+a[*p1];
a[*p1]=a[0]-a[*p1];
a[0]=a[0]-a[*p1]; //最大数和最后一个数交换
a[9]=a[9]+a[*p2];
a[*p2]=a[9]-a[*p2];
a[9]=a[9]-a[*p2]; } void f723(int *a)
{
for (int i=0;i<10;i++)//输出新的数
{
printf("%d\t",a[i]);
}
} void main()
{ f721(a); int *pmax=(int *)malloc(sizeof(int)),*pmin=(int *)malloc(sizeof(int));
*pmin=a[0];
*pmax=a[0]; int kmin=0,kmax=0;//记录最大数和最小数de下标 int *p1=&kmin,*p2=&kmax; f722(pmax,pmin,a,p1,p2); printf("kmin=%d,kmax=%d\n",kmin,kmax); f723(a); free(pmax);
free(pmin); system("pause");
}

代码编译以及运行

由于资源上传太多,资源频道经常被锁定无法上传资源,同学们可以打开VS2013自己创建工程,步骤如下:

1)新建工程

2)选择工程

3)创建完工程如下图:

4)增加文件,右键点击项目

5)在弹出菜单里做以下选择

6)添加文件

7)拷贝代码与运行

程序运行结果

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAAG6CAYAAAAxsD/hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAChuSURBVHhe7d0JnF1lfTfw/yQkghAlWEJY+r61da2Encgii2xBAZe64oZaX1trrQUsKK3W90NFsYhQfUsXF8S9b1+XqqCyBRUsyr7Vanlb3pYQEgIie7Z5z3PuPZMzN+feuTNJ5knu/X7HP/ec52zPc86ZzM97594Z+dI/fGf05//6L1G5/idXtacAAGDTOPvcT7WnWkbu+MW9ozfdeF18+fN/EyMjI/HCI46MQw5fFPPm7dReBQAANo4nHn84br/1hvjMpz8do6OjY+G0DKWnn/K2mDt3h3jnu0+LR2N2uQAAADaVnZ8yO8468wPxwAP3l8G0DKXvPfV/xJ/++Yfj0ZEntVcDAIBNa+c5s+K0U98VH/nY38fICSecMHrggYfEQcf+TnsxAABMj6U/vzG++MWLWqH0z8/8y3hkdFZ7EQAATI/n/Pq8eNtbXtcKpZ/67JfiZ/+1vL0IAACmx3N227EMpTPa8zGilFJKKaXUNFdl7JnSn999X7sJAACmx7N2/bXxL9//YsmK9iIAAJgez9zlaeND6b/dc397EQDAYHjkoUfi5//67/HAAw+1Wza9uXPnxLOe/fTYds625bw+tPrQzTN23mFyofSyb365PTU5v/nsBfEbz/rtmDFj7NdXAQCmxTU/vCH22uO3Yt5OT2u3bHrL7l0RN91yZxx0yD7lvD60+tDNeqH0zqUPtBc1G3nk3vZUsxkjIzEyYyRGR6P8k1Gpku9fenm8YNHLYpttnlz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SrT1pWlaFqipgdds2mcoxu5nsNp3rN20/mX32s79e0voT6dx/ZTLHqeTeHgCYPlvEy/f1cJGmO2uyUkBJlbbdVGGl6le9f9Uxm/QaR69lE0nbboztU1Xnraqk/lhNAwBszqYUSqswVKnCT72motpvesypOn63vtT72bRO0/jTOlWl5U3r9NK0fec+qmVJekzznbpt26/c2wMAg2lKobRXoGgKQpWJllX7TY+91q2kderVrS1J0936PdmAVPWvs7/dqlqn/ljXuW59vmrrtX2S1utcluar7QEANmcb/BedmsJQU1ulc1kVmprW77afXvvvV3XcbjZ0/9Ol1/lLNsa5AgCG03T+TukGh1IAAAbTFvFGJwAA2FiEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgOyEUgAAshNKAQDITigFACA7oRQAgL7NnDkzZs+eXdasWbPGHqtKy6dCKAUAoG8pdB588MGx1157lbXvvvvGokWL4uSTT44LLrggZsyYWrwUSgEA6NuaNWvi6quvLgPpQQcdFC9/+cvjHe94R5x44onl49q1a9trTo5QCgBA31IoTXXhhRfGvHnzynD67Gc/OxYuXFgG0rRsKoRSAAB6GhkZGVcpfKb64Ac/WL6c/9znPneDAmkilAIA0FMKnk3BdHR0NF784heXj2m+c53JEEoBAOgphdL0BqbO0JmC6OrVqzc4kCZCKQAAPVWBtFPVVg+jTev1QygFAKCnpmdJ+6nJEEoBAOipWyhNqscNJZQCANDTo48+OqWajJHjjz9+9NMXfjnuf3y03TTetZd9LY488sj2HAAATM5uu+0WP7v7ofbceDtsPRK/++YTJw6lz9l1TnsKAACmZoNDKQAAbCpVKPU7pQAAZCeUAgCQnVAKAEB2QikAANkJpQAAZDf27nsAAMhh7COh2vMAAJBBxP8HLugjas76bM0AAAAASUVORK5CYII=" alt="" />




基于visual Studio2013解决C语言竞赛题之0702函数设计的更多相关文章

  1. 基于visual Studio2013解决C语言竞赛题之0307函数求值

      题目 解决代码及点评 这又是个条件函数,但是这个函数无法用switch来解决,因为switch只能用于和某条件相等情况下,而这个函数的范围是无穷的 遇到这种问题,我们还是需要用复合的if语 ...

  2. 基于visual Studio2013解决C语言竞赛题之0301函数求值

     题目 解决代码及点评 #include <stdio.h> #include <stdlib.h> #include <math.h> void main() ...

  3. 基于visual Studio2013解决C语言竞赛题之1025Bessel函数

          题目 解决代码及点评 /* 功能:25. Bessel函数Jn(X)有以下的递推关系: J[n+1](x)=(2n+1)/x*J[n](x)-J[n-1](x) 并 ...

  4. 基于visual Studio2013解决C语言竞赛题之0601判断素数函数

           题目 解决代码及点评 //编写一函数判断一个数是否为素数 #include<stdio.h> #include <stdlib.h> # ...

  5. 基于visual Studio2013解决C语言竞赛题之1012连接字符串

         题目 解决代码及点评 /* 编写一个函数JOIN,让它实现字符串连接运算功能. */ #include <stdio.h> #include <stdl ...

  6. 基于visual Studio2013解决C语言竞赛题之0401阶乘

      题目 解决代码及点评 这个是一道经典的教科书题目,基本上每本基础的c/c++语言教科书都会有这个题目 用来演示循环语句 #include <stdio.h> #include ...

  7. 基于visual Studio2013解决C语言竞赛题之0205位数求和

     题目

  8. 基于visual Studio2013解决C语言竞赛题之0201温度转换

    题目 解决代码及点评 #include <stdio.h> #include <stdlib.h> void main() { float f; float c; float ...

  9. 基于visual Studio2013解决C语言竞赛题之0409 100以内素数

       题目 解决代码及点评 在已经知道素数是怎么判断的基础上,增加循环,可以判断出100以内的素数 /******************************************* ...

随机推荐

  1. MySQL 5.7.14 安装

    http://www.cnblogs.com/zcGu/articles/5740936.html 因笔者个人需要需要在本机安装Mysql,先将安装过程记录如下,希望对他人有所参考. 一, 1, 进入 ...

  2. FPGA知识大梳理(一)对FPGA行业的一点感言

    今天想开始把这FPGA行业的知识点做一个大整理,从个人感想,到语法,到器件基础,难点攻克,到项目应用.把自己这几年接触到的知识做一个全面的回顾,看看自己这几年走过的路. 人生无常,几年的跌跌撞撞勉强算 ...

  3. os.path.exists(path) 和 os.path.lexists(path) 的区别

    使用os.path.exists()方法可以直接判断文件是否存在.代码如下:>>> import os>>> os.path.exists(r'C:\1.TXT') ...

  4. Handler总结

    一.整体工程图 二.activity_handler.xml <?xml version="1.0" encoding="utf-8"?> < ...

  5. javascript特效:会随着鼠标而动的眼睛

    这个特效非常简单,其中眼球和眼珠都是特定的图片.只要掌握好距离坐标就没问题.我就直接贴代码,有兴趣的朋友可以自己复制下来运行一下,下面的眼睛图像就是我的文件用到的图像,比较难看..我就把我的代码贴出来 ...

  6. 使用client对象模型回写SharePoint列表

    使用client对象模型回写SharePoint列表 client对象模型是一个有效的方式回写SharePoint列表. 1. 管理员身份打开VS,新建WPF应用程序SPWriteListApp,确保 ...

  7. golang channel初次接触

    goroutine之间的同步 goroutine是golang中在语言级别实现的轻量级线程,仅仅利用go就能立刻起一个新线程.多线程会引入线程之间的同步问题,经典的同步问题如生产者-消费者问题,在c, ...

  8. BZOJ 1911: [Apio2010]特别行动队( dp + 斜率优化 )

    sum为战斗力的前缀和 dp(x) = max( dp(p)+A*(sumx-sump)2+B*(sumx-sump)+C )(0≤p<x) 然后斜率优化...懒得写下去了... ------- ...

  9. 深入理解-HashMap

    一.HashMap概述 HashMap 在家族中位置:实现了Map接口,继承AbstractMap类.HashMap 允许key/value 都为null. 二.HashMap存储结构 HashMap ...

  10. docker学习笔记13:Dockerfile 指令 WORKDIR介绍

    Dockerfile中的WORKDIR指令用于指定容器的一个目录, 容器启动时执行的命令会在该目录下执行. 相当于设置容器的工作目录了.我们来看一个dockerfile文件 #test FROM ub ...