a guest Feb 27th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand