Professional Documents
Culture Documents
com/
You need to verify email to use all features of IDE. Follow instructio
OnlineGDB
beta (/) Run Debug Stop Share Save { } Beautify
online compiler and 1
main.c
//program to print various NUMBER PATTERNS using nested loop//
debugger for c/c++ 2 #include <stdio.h>
3 int main()
Welcome, Mohd Ali 4 {
(/profile/) 5 int n,i,j;
(/notifications) 6 printf("input row count : ");
7 scanf("%d",&n);
9 8 for (i=1;i<=n;i++)
9 {
Create New Project (/) 10 for(j=1;j<=i;j++)
My Projects (/myfiles) 11 printf("1\t");
12 printf("\n");
Classroom new 13 }
(/classroom) 14 return 0;
Learn Programming 15 }
(https://learn.onlinegdb.com
Programming
Questions
(https://question.onlinegdb.com
Logout (/logout)
167K
input
About (/about) • FAQ
(/faq) • Blog (/blog/) •
Terms of Use
(/termsofuse) • Contact
Us (/contact) • GDB
Tutorial
(http://www.gdbtutorial.com/
• Credits (/credits) •
Privacy (/privacy)
© 2016 - 2022 GDB
Online
1 of 1 8/16/2022, 2:38 AM