i have just started c language and i have only study "while" and "for" "if else"
please help me in this question using loops(without usuing arrays)
write a program that prodeuce the following output:
0
0 1
0 1 2
0 1 2 3
0 1 2 3 4
0 1 2 3 4 5
#include<stdio.h>
void main(void)
{
int inner;
for(int outer=1;outer<=6;outer++)
{
inner=1;
while(inner<=outer)
{
printf("0");
___________
please help me in this code