0

What is the error in this code in c language

#include<stdio.h> int main() { //Two dimensional array int Matrice[3][3; printf("This Program will print no. from 1-9 in matrice form : \n\n"); for (int i=0;i<3,i++) { for (int j=0;j<3;j++) { printf("Enter no. (1-9) : "); scanf("%d", &Matrice[i][j]); } } printf("\n\n\n"); for (int i=0;i<3;i++) { for (int j=0;j<3;j++) { printf("%d\t", Matrice[i][j]); } printf("\n"); } printf("\n\n\n So that's the matrice form of no from 1-9"); return 0; }

30th Dec 2021, 4:22 PM
Bong Rush Gaming YT
2 Antworten
+ 3
int Matrice[3][3]; And in first for loop will be needed ; instead ,
30th Dec 2021, 4:30 PM
JaScript
JaScript - avatar