Please read the guide .
Please answer the question in detail
#include<stdio.h> int main() { int n,i,j; printf("Enter the number of rows: "); scanf("%d",&n); for(i=1; i<=n; i++) { for(j=1; j<=n; j++) { printf("%d",j); } printf("\n"); } return 0; }
Doubtly is an online community for engineering students, offering:
Get the pro version for free by logging in!
5.7k questions
5.1k answers
108 comments
563 users