Quantcast
Channel: :: UOB-BH :: منتديات طلبة جامعة البحرين
Viewing all articles
Browse latest Browse all 4542

مساعدتي في هذا السؤال csc103

$
0
0
اللام عليك اخواني الكرام - بغيت مساعدتي في هذا السؤال :
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}

Viewing all articles
Browse latest Browse all 4542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>