Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. From the keyboard enter the size and the elements of an integer array.
  2. Perform the following operations.
  3. Output the binary representations of the elements (one next to the other)  obtain an array of ones and zeros
  4. Output a percentage of elements that are divisible with their respective indices, along with those elements and their respective indices
  5. The program should operate while the client answers the question “Would you like to try again on another array (1=yes / 0=no)? “ with 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement