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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

這個(gè)用c語言怎么寫

這個(gè)用c語言怎么寫

慕勒9319670 2018-11-26 15:58:20
Write a program that prompts the user for the size of 2 arrays to sum (both arrays have the same size and is maximum of 10 elements).Prompt the user to enter the value for element of both arrays.Then your program must print to the screen the result of adding those 2 arrays.For adding the arrays you must use a function with the following headervoid sumArrays(int A[ ], int B[ ], int sumArray[ ], int size)A and B are the input arrays, sumArray is the array where the result is stored and size indicate the size of the arrays.Enter?size?of?the?2?arrays?to?sum?(max-size?is?10): 5 Enter?the?5?elements?for?array?A: 1?2?3?4?5 Enter?the?5?elements?for?array?B: 1?2?3?4?5 The?sum?of?the?2?arrays?is: [2,?4,?6,?8,?10]
查看完整描述

2 回答

  • 2 回答
  • 1 關(guān)注
  • 1239 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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