Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

arrays

 
nick danasi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
can anyone suggest we about these and these are to be done with just using arrays and neither with objects or packages??
1)In the given two dimensional array, find out the position of number 66 and print.

Input - int[][] a2 = {{5, 8, 9, 4},{11, 55, 66, 88}};

Output - 55 digit found at row - and column -???

2)Create a char array and add name 'VENKATESH PILLAI'.

Find out how many times character 'A' is repeating in the name and Position of character 'A'.


Output -

Character 'A' repeating 2 times

Position of 'A' is

Position of 'A' is

its really urgent please!!! reply soon
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate post. The other is found here: http://www.coderanch.com/t/601384/java/java/arrays

Please keep the conversation going in the other thread. I am closing this one.
 
    Bookmark Topic Watch Topic
  • New Topic