Create a class GroupExcercise In Java that would ask the user to perform the following: - Using
Fantastic news! We've Found the answer you've been seeking!
Question:
- Then, each succeeding element should have twice the value of its predecessor.
- Compute for the sum and average then display the results.
Results must be:
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
Sum of all the inputs: 32767
Average of the inputs: 2184
Related Book For
Posted Date: