الخيال55
- [مخالف - طلب حل : ]مساعدة
Write a program that reads an integer between 0 and 1000 and adds all the digits in the integer. For example, if an integer is 932, the sum of all its digits is 14. (Hint: Use the % operator to extract digits, and use the / operator to remove the extracted dig…
- مساهدة في حل سؤال
هي كود الجمع بس منا عارف استدعي void addMatrix( int a[2][2], int b[2][2],int c[2][2], int RowColomSize ) { int x = RowColomSize ;// ÇÓåá Ýí ÇáÊÚÇãá for (int i=0 ; i<x ; i++) { for (int j=0 ; j<x ; j++ ) c [j] = a [j] + b [j] ; } cout << " add of arrays is \n "…
- مساهدة في حل سؤال
مافي حذا يساعد
- مساهدة في حل سؤال
Write function to add and multiply two matrices. The header of the functions is as follow: void addMatrix( int a[][COULMN_SIZE], int b[][COULMN_SIZE], int c[][COULMN_SIZE], int rowSize ) c matrix will hold the result of adding void multiplyMatrix( int a[][COUL…
- [مخالف - طلب حل : ]حل سؤال
Write function to add and multiply two matrices. The header of the functions is as follow: void addMatrix( int a[][COULMN_SIZE], int b[][COULMN_SIZE], int c[][COULMN_SIZE], int rowSize ) c matrix will hold the result of adding void multiplyMatrix( int a[][COUL…
- مساعدة
مافي حدا يساعد
- [مخالف - طلب حل : ]مساعدة
Write function to add and multiply two matrices. The header of the functions is as follow: void addMatrix( int a[][COULMN_SIZE], int b[][COULMN_SIZE], int c[][COULMN_SIZE], int rowSize ) c matrix will hold the result of adding void multiplyMatrix( int a[][COUL…
- مساعدة
طبي ساعدين ارجوكي
- مساعدة
ميرسي طبي شوفي سؤال Write a function that sums all the integers in the major diagonal in a matrix of integer. (The size of multidimensional array should flexible) For example for array [4][4]: the function will get the sum of colored elements 1 2 4 5 6 7 8 9 1…
- مساعدة
ميرسي حمرو الورد
- مساعدة
{ if(size<=0) return 0.0; double sum=0.0; double aver; //--- for(int i=0;i<size;i++) { sum+=array ; // Addition to the double } aver=sum/size; // Just divide the sum by the number //--- Print("Calculation of the average for an array of double type"); return av…
- مساعدة
مافي حدا يساعد
- مساعدة
Write two overloaded functions that returns the average of an array with the following header int average (int array[], int size) double average (int array[], int size) هدا حلي الرجاء اعلامي بصحته او خطاه double AverageFromArray(const double & array[],int size…
- [مخالف - طلب حل : ]الرجاء المساعدة
Write two overloaded functions that returns the average of an array with the following header int average (int array[], int size) double average (int array[], int size)