Beruflich Dokumente
Kultur Dokumente
#include<iostream>
#include<conio.h>
#include<string.h>
#include<cstring>
main()
char box[10][10]= {
'Q','W','E','R','T','Y','Y','U','I','O',
'A','S','D','F','G','R','H','J','A','P',
'Z','R','S','X','R','P','C','V','B','N',
'W','Q','A','E','G','I','M','J','Y','M',
'E','R','M','G','T','P','Y','U','U','I',
'A','S','W','D','O','I','F','P','H','P',
'K','L','I','Z','X','N','C','I','V','B',
'N','M','S','Q','W','E','R','T','T','Y',
'U','I','E','O','P','A','S','E','D','F',
'F','L','A','D','N','A','G','R','G','H',
};
for(int i=0;i<10;i++)
for(int j=0;j<10;j++)
{
if (box[i-1][j]== 'V' && box[i+1][j]== 'U' )
{ cout<<box[i][j];
{ cout<<box[i][j]; }
{ cout<<box[i][j]; }
{ cout<<box[i][j]; }
{ cout<<box[i][j]; }
{ cout<<box[i][j]; }
{ cout<<box[i][j]; }
else {cout<<"+";}
cout<<endl;
getch();
}// Lee un solo carácter directamente desde el teclado, sin mostrar tal carácter en pantalla.
Suma de arreglos
#include <iostream>
int main()
{
int x[4][2] = {{40,50},{25,35},{23,45},{50,32}};
int suma,i,j,suma2;
suma = 0;
suma2 = 0;
cout<<"Elemento en pos["<<i<<"]["<<j<<"]:";
cout<<x[i][j]<<endl;
cout<<"\n";
cout<<"Elemento en pos["<<i<<"]["<<j<<"]:";
cout<<x[i][j]<<endl;
return 0;
}
calcule la potencia al cubo del siguiente arreglo:
#include <iostream>
#include <math.h>
int main(){
return 0;