اللام عليك اخواني الكرام - بغيت مساعدتي في هذا السؤال :
Write a C++ program that declares and initializes an array of the following elements: 10 15 4 7 4 12 11 14 15 16 The program that : - Find and print the largest element, - Find and print the smallest element, - Find and print the average of the 10 elements,محاولتي كانت بسيطة لعدم فهمي ):
#include <iostream>
using namespace std;
int main()
{
int A[10]={10,15,4,7,4,12,11,14,15,16}
Write a C++ program that declares and initializes an array of the following elements: 10 15 4 7 4 12 11 14 15 16 The program that : - Find and print the largest element, - Find and print the smallest element, - Find and print the average of the 10 elements,محاولتي كانت بسيطة لعدم فهمي ):
#include <iostream>
using namespace std;
int main()
{
int A[10]={10,15,4,7,4,12,11,14,15,16}