VECTORES

110 views

Published on

  • Be the first to comment

  • Be the first to like this

VECTORES

  1. 1. ____________________________________________________________________________________________________________________program Vectores;uses crt;varv:array[1..11]of integer;j,i:integer;begintextbackground(5);textcolor(2);clrscr;writeln(Este programa permite almacenar 10 numeros y multiplicarlos por5.);writeln(_____________________________________________________________);writeln(| | | | | | | | | | |);writeln(_____________________________________________________________);textcolor(yellow);j:=-2;for i:=1 to 10 dobeginj:=j+6;gotoxy(j,3);read(v[i]);end;textcolor(7);gotoxy(1,8);writeln(_____________________________________________________________);gotoxy(1,9);
  2. 2. writeln(| | | | | | | | | | |);gotoxy(1,10);writeln(_____________________________________________________________);textcolor(yellow);j:=-2;for i:=1 to 10 dobeginj:=j+6;gotoxy(j,9);write(v[i]*5);end;readkey;end.____________________________________________________________________________________________________________________

×