Wednesday, October 30, 2019

Print the following formates.
                        1
                        12
                        123
                        1234
   #include<stdio.h>
  #include<conio.h>
 void main()
{
int i,j,num;
clrscr();
printf("input the number");
scanf("%d",&num);
for(i=1;<=num;i++)
{
for(j=1;j<=i-1;j++)
{
printf("%d",j);
}
printf("\n");
}
getch();
}














7 comments:

2004 1.       A.   True or false:- 1.       The part of the computer that executes program instruction known as memory.- False 2.  ...