Computer Science, asked by Anonymous, 1 year ago

write a c++ program that print 1 2 3 4 8 16 32 64 128.

Answers

Answered by amritstar
1

#include <stdio.h>

#include <stdlib.h>


int main( )

{

           printf ("1\t2\t3\t4\t8\t16\t32\t64\t128") ;

          return 0 ;

}


-----------------------------

Put the above code in any compiler and run it.

Hope it work!!!

___________

Amrit


Anonymous: thanks it works
Similar questions