Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: XYZ
Title:
  C
Question:
#include<iostream.h>
#include<iomanip.h>
#include<conio.h>
#include<stdlib.h>
#include<time.h>
#define INIT 1000
void main()
{
int base[8][8];
char mask[8][8],check;
int row,column,side,value,j,j1,j2,j3,j4,val_done,level,no_of_attempts,score,count_left;
do
{
clrscr();
cout<<"Memory Game\n\n";
cout<<"Enter the level (1-4):";
cin>>level;
}
while(level<1|| level>4);
side =level*2;
for(row=0;row<side;row  )
{
for(column=0;column<side;column  )
{
base[row][column]=INIT;
mask[row][column]='X';
}
}
for(j=0;j<32;j  )
{
value= rand()00;
j1=rand()%side;
j2=rand()%side;
j3=rand()%side;
j4=rand()%side;
if(base[j1][j2] ==INIT)
base[j1][j2] = value;
else
{
val_done = 1;
for(row=0;row<side;row  )
{
for(column=0;column<side;column  )
{
if(base[row][column]= = INIT
Answers:

Name: clinical Depression
this is not your personal tech support crew pajeet
learn to c   you monkey



p.s kill yourself

Name: XYZ
please solve the errors