asm
| |
auto
| |
bool
| |
break
| |
case
| |
catch
| |
char
| |
class
| |
const
| |
const_cast
| |
continue
| |
default
| |
delete
| |
do
| |
double
| |
dynamic_cast
| |
else
| |
enum
| |
explicit
| |
extern
| |
false
| |
float
| |
for
| |
friend
| |
goto
| |
if
| |
inline
| |
int
| |
long
| |
mutable
| |
namespace
| |
new
| |
operator
| |
private
| |
protected
| |
public
| |
register
| |
reinterpret_cast
| |
return
| |
short
| |
signed
| |
sizeof
| |
static
| |
static_cast
| |
struct
| |
switch
| |
template
| |
this
| |
throw
| |
true
| |
try
| |
typedef
| |
typeid
| |
typename
| |
union
| |
unsigned
| |
using
| |
virtual
| |
void
| |
volatile
| |
while
|
1.- Hacer un programa que permita ingresar n datos de una matriz y calcular el mayor de la matriz. #include<iostream.h> #include<conio.h> #define lim 50 void main() {int i,j,a[lim][lim],fila,col, may=a[0][0]; clrscr(); do {cout<<"Ingresar limite de la fila:"; cin>>fila; }while(fila<=0); do {cout<<"Ingesar limite de la columna:"; cin>>col; }while(col<=0); gotoxy(10,7); cout<<"Ingresar Elementos de la matriz\n\n"; for(i=0;i<fila;i++) for(j=0;j<col;j++) {cout<<"a["<<i<<"]"<<"["<<j<<"]"; cin>>a[i][j]; } for(i=0;i<fila;i++) for(j=0;j<col;j++) if(a[i][j]>may) may=a[i][j]; clrscr(); gotoxy(10,7); cout<<"Elementos de la matriz\n\n"; for(i=0;i<fila;i++) for(j=0;j<col;j++) {cout<<a[i][j]; cout<<"\n"; } clrscr(); gotoxy(10,20); cout...
Comentarios
Publicar un comentario