Recent content by anyonebutangel

  1. A

    Tablet charging problem and data recovery

    My tablet is IKALL N9 .Recently,I started facing problem connecting it to the charger so I would adjust the charger a bit until it would show charging .But a few days back it stopped charging altogether.it won't show the charging sign neither with AC source nor the power bank.I even changed the...
  2. A

    An array problem involving a recursive binary search

    Hey guys ,Figured out. If you want to have a look class search { int arr[]={25,81,101,56,24}; int bin_search(int lower,int upper,int v) { int middle=(lower+upper)/2; if(upper<lower) return(-1); else if(arr[middle]==v)...
  3. A

    An array problem involving a recursive binary search

    <Post edited to remove a quote of mine (Mark44) that was in error.> But I'm not able to figure out why is it giving "missing return statement".
  4. A

    An array problem involving a recursive binary search

    guys i designed another program with same method(int bin_search).once I get the cause for error,i'll change it in the main program.have a look. i hope it"s easier to read.and i Still can't get it where the problem is. yes.I have only one file with that name and also for execution I'm...
  5. A

    An array problem involving a recursive binary search

    yes.thanks i was missing that point. i tried it that way and figured that it was executing infinitely . so i modified the function . import java.io.*; class Binsearch { int arr[]; int n; static BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); Binsearch(int nn) { n=nn...
  6. A

    An array problem involving a recursive binary search

    Summary:: I have to solve this problem stirctly according to the question that follows: Mentor note: I edited the original code to add indentation and a few blank lines to make the code more readable, so line 43 is no longer the line in question. so this is the question i tried but it gives...
  7. A

    Looking for a Comprehensive Guide on Green Chemistry? Any Book Recommendations?

    Green chemistry is a new technique devoted to the synthesis, processing, and application of chemical materials in such manner as to minimize hazards to humankind and the environment. or we can also say that , Green chemistry is the strategy of designing chemical products and processes in a way...
  8. A

    Looking for a Comprehensive Guide on Green Chemistry? Any Book Recommendations?

    I'm supposed to make a project on "Green Chemistry".so if you guys have any suggestions for a good book?
  9. A

    Comp Sci 100 Lockers Problem Java Program

    well as the outer for loop iterates from student 1 to the last student,then for each student the inner loop will iterate for locker 1 to 10 now the two referred if statement are within an if statement that'll only work if the student of a particular number approaches that number locker. now...
  10. A

    Comp Sci 100 Lockers Problem Java Program

    Mark_44 is right.you can't assign a single value to an array it's not a syntax.Also since you are checking a particular locker no. you should check that particular index of array i.e. lockers[j] instead of lockers as j loop is iterating for locker numbers. . if (lockers[j]== CLOSED){...
Back
Top