Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Project 4 v0.1
//gcc 5.4.0 #include <stdio.h> int FindMax(int A[3][3]){ int MaxVal=A[0][0]; for(int x;x<int n;x++) for(int y;y<n;y++){ if(A[x][y]>MaxVal) MaxVal=A[x][y]; } } //int FindMin(int A[3][3]){ // } //int FindRowSum(int A[3][3],int y){ // } //int FindColumnSum(int A[3][3],int x){ // } //int FindArraAverage(int A[3][3]){ // } //int ColumnZeroAss(int A[3][3],int Cz[9]){ // } //int RowZeroAss(intA[3][3],int Rz[9]){ // } int main(void) { int A[3][3]={{1,2,3},{4,5,6},{7,8,9}}; int Cz[9]; int Rz[9]; int n=3; printf("Maximum Value of the Array is %lf",FindMax(A)); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PREGUNTA 2, GUÍA 4, MÓDULO 3
Project 3 Part 1 v1.7
MÓDULO 3, PREGUNTA 1, GUÍA 4
3,6,8
ARREGLO DE VARIABLES DE TIPO STRUCT
qsort para struct
Project 5 v.01
vetor mult
Day Of The Programmer
swapping using call by reference
Please log in to post a comment.