C 言語データ フィルター関数を記述します。

#include<stdio.h> int filter(int array[], int size) { int result = 0; int i; for (i = 0; i < size; i++) { 結果 += 配列[i]; 結果/サイズを返します。} int main() { int 配列[] = {1, 2, 3, 4, 5}; int size = sizeof(array)/sizeof(array[0]); 整数

おすすめ

転載: blog.csdn.net/weixin_35756690/article/details/129613478