
given string : char str[]="123456789"; write a program in 'c'-language that displays the following: 1 232 34543 4567654 567898765


import java.io.*;
class Demo15
{
public static void main(String[] args)throws IOException
{
int a=6;
for (int i=1; i<a;i++ )
{
for (int j=1; j<=i;j++ )
{
System.out.print("*");
}
System.out.println(" ");
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.