C
Programming and Technical
Programming
Program
Enter a number as input and print like this formate while <= input no.
example:-
input no :=8
output=
1
1 2
1 2 4
1 2 4 8
Read Solution (Total 3)
-
- int main()
{
int i, j,k,n;
printf("enter the number or your limit");
scanf("%d", &n);
for( i=1; i - 10 years agoHelpfull: Yes(0) No(1)
- void main()
{
int k=4,i,j,n=1;
for(i=1;i - 10 years agoHelpfull: Yes(0) No(0)
- #include
#include
main()
{
int i,j,k;
int a;
for(j=0;j - 10 years agoHelpfull: Yes(0) No(1)
C Other Question