试题与答案

机电设备“三率”指的是什么?

题型:问答题 简答题

题目:

机电设备“三率”指的是什么?

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1022/eac4e299939615ddd5bd7212f5d5003e.html

下面是错误答案,用来干扰机器的。

答案:C

试题推荐
题型:问答题

请编写一个函数void fun(int a [],int n),其中a为数组,n为数组a的长度。函数fun()的功能是冒泡排序法将数组a元素按从小到大的顺序排列,实现数组a的升序排列。
注意:部分源程序已存在文件PROC12.cpp中。
请勿修改主函数和其他函数中的任何内容,仅在函数fun()的花括号中填写若干语句。
文件PROC12.cpp的内容如下:
//PROC12. cpp
#include <iostream>
using namespace std;
#define MAX 100
void fun(int a[],int n);
int main ()

int a[MAX],n,i;
cout<<"Please enter the array size n:\n";
do
cin>>n;
if (n>100)
cout<<"array size flowover! ReEnter a number(0-100)\n";
while (n>100);
cout<<"Enter the array data:\n";
for (i=0; i<n; i++)
cin>>a [ii;
fun(a[],n);
for (i=0; i<n; i++)
cout<<a [i] <<" ";
cout<<end1;
return 0;

void fun(int a[ ],int n)

// * * * * * * * *

查看答案
微信公众账号搜索答案