Computers and Technology, 24.07.2021 06:00 kaciewelkerouwdfa
Basicamente en un programa de matrices donde hay que formar una cruz y una diagonal con 1
y ya está la cruz y las diagonales de 1 (? pero esa parte donde tengo que hacer la mitad de 2 me hace explotar
Alguien me dice que tengo que hacer porfavor
//matriz
#include
#define maxfil 100
#define maxcol 100
void llenar (int [maxfil][maxcol],int, int);
void mostrar (int[][maxcol],int, int);
main()
{ int M[maxfil][maxcol];
int n, m;//filas y columnas reales
n=11;
m=11;
llenar(M, n,m);
mostrar(M, n,m);
}
//construot funcione
void llenar (int X[maxfil][maxcol],int n, int m)
{int i, j;//indice i pra filas y j pra columnas
for(i=0;i
{ for(j=0;j
{X[i][j]=0;
}
}
for(i=0;i
{X[n/2][i]=1;
}
for(i=0;i
{X[i][n/2]=1;
}
for(i=0;i
{for(j=0;j
{if(n==m)
{X[i][i]=1;
}
else
{X[i][i]=0;
}
}
}
for(i=0;i
{X[i][(n-1)-i]=1;
}
}
void mostrar (int X[][maxcol],int n, int m)
{int i, j;//indice i pra filas y j pra columnas
for(i=0;i
{ printf("\n");
for(j=0;j
{printf("%d ",X[i][j]);
}
}
}
Answers: 2
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
Computers and Technology, 24.06.2019 09:50
Suppose you are an ad-serving company and you maintain a log of cookie data for ads you serve to the web pages for a particular vendor (say amazon). a. how can you use this data to determine which are the best ads? b. how can you use this data to determine which are the best ad formats? c. how could you records of past ads and ad clicks to determine which ads to send to a given ip address? d. how could you use this data to determine how well the technique you used in your answer to part c was working? e. how could you use this data to determine that a given ip address is used by more than one person? f. how does having this data give you a competitive advantage vis-à-vis other ad-serving companies?
Answers: 2
Computers and Technology, 24.06.2019 11:20
Colby works as a shipping clerk for a major package delivery service. some of his daily tasks include tracking shipments and entering orders. which aspect of the information technology cluster would he most likely be trained in? a.networkingb.databasesc.hardwared.software
Answers: 2
Computers and Technology, 24.06.2019 12:40
Match the feature to the network architecture. expensive to set up useful for a small organization easy to track files has a central server inexpensive to set up difficult to track files useful for a large organization does not have a central server client- server network peer-to-peer network
Answers: 3
Basicamente en un programa de matrices donde hay que formar una cruz y una diagonal con 1
y ya está...
History, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
English, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
Biology, 30.11.2020 19:40
Computers and Technology, 30.11.2020 19:40
Health, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
Mathematics, 30.11.2020 19:40
Computers and Technology, 30.11.2020 19:40