+ 5

Print the series 2,4,8,16,32 upto 20 digit in reverse order

solve plzzz

26th Feb 2018, 5:31 PM
Ankit Singh
Ankit Singh - avatar
3 Antworten
+ 15
run a for loop for n=20 to n=1 System.out.println((int)Math.pow(2,n));
26th Feb 2018, 5:35 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
I have posted a code but please didn't ask the questions like this. You can ask how to do something but not to make a code for you. Please try to do somethings yourself. https://code.sololearn.com/cntR7Wjl3kaD/?ref=app
26th Feb 2018, 6:21 PM
Akash Pal
Akash Pal - avatar
- 3
plz do this whole programme
26th Feb 2018, 6:05 PM
Ankit Singh
Ankit Singh - avatar