<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
TEngo esto echo pero no se como imprimir la matriz con los numeros tachados del vector aleatorio que he seleccionado<br><br><br>#include <stdio.h><br>#include <conio.h><br>#include <stdlib.h><br>#include <math.h><br><br>main()<br>{<br>    randomize();<br>    int matriz[7][7],aux=1, j,i;<br>    int vector[6];<br><br>    for(i=1; i<=7; i++)<br>    {<br>        for(j=1; j<=7; j++)<br>        {<br><br>            matriz[i][j]=aux;<br>            aux++;<br><br>            printf("%5d",matriz[i][j]);<br><br>        }<br>        printf("\n");<br>    }<br>    getch();<br><br>    for(i=1; i<=6; i++)<br>    {<br>        vector[i]=rand()%49+1;<br>        if(i>1)<br>        {<br>            for(j=1;j<1;j++)<br>            {<br>                if(vector[i]==vector[j])<br>                {<br>                    i=i-1;<br>                    break;<br>                }<br>            }<br>        }<br>    }<br><br>    return 0;<br>}<br>                                        </div></body>
</html>