第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

c++遠(yuǎn)征起航里的問題?

c++遠(yuǎn)征起航里的問題?

C++
驚回頭 2016-07-03 15:27:01
#include<stdlib.h>#include<iostream>using namespace std;int getMaxOrMin(int*arr,int cout,bool isMax){? ?int temp=arr[0];? ?for(int i=1;i<count;i++)? ?{ if(isMax) { ?if(temp<arr[i])? ? ?{? ? ? temp = arr[i]; } } else { ?if(temp>arr[i]) { temp>arr[i]; } }? ?}? ?return temp;}int main(void){? ?int arr1[4]={3,5,1,7};? ?bool isMax=false;? ?cin>>isMax;? ?cout<< getMaxOrMin(arr1,4,isMax)<<endl;? ?system("pause");? ?return 0;}哪里錯了?
查看完整描述

1 回答

已采納
?
Demo_

TA貢獻(xiàn)5條經(jīng)驗 獲得超4個贊


int getMaxOrMin(int*arr,int cout,bool isMax),參數(shù)cout改為count

查看完整回答
1 反對 回復(fù) 2016-07-03
  • 1 回答
  • 1 關(guān)注
  • 1462 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號