eng
competition

Text Practice Mode

C code ... two graph lines

created Mar 30th 2017, 04:22 by AmeerHamza5820


2


Rating

42 words
8 completed
00:00
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
 
#define ROW 5
#define COLUMN 10
int main(void)
{
    int Matric[ROW][COLUMN];
    int x,y;
    for(y=0; y<=ROW;y++){
        for(x=0;x<=COLUMN;x++){
            printf("%c",'\xF9');
        }
        printf("\n");
    }
 
    while(x>=0){
        for(y=0;y<ROW;y++){
            for(x=0;x<COLUMN;x++){
 
                printf("\n\n");
            }
            printf("coordinates :  ");
            scanf("%d %d",&x,&y);
            Matric[y][x] ='\xB1';
        }
    }
   getch();
}

saving score / loading statistics ...