Recent content by ishika17

  1. I

    Comp Sci Matrix problem in java using bubble sort

    i agree. thank you.I'll take note of it. This is why I'm actually here and i hope to improve further.
  2. I

    Comp Sci Matrix problem in java using bubble sort

    even i don't like it. But sadly, when this is what you've been taught since your first programming class,this is what happens. they would ask us not to take names of variable and class which are long (like index,Maxvalues,etc.) even though they are sensible. I'll take note of it.
  3. I

    Comp Sci Matrix problem in java using bubble sort

    I'm calculating maximum and minimum values so i can sort them in descending order because i couldn't think of how to sort the the elements which are arranged in both rows and columns.
  4. I

    Comp Sci Matrix problem in java using bubble sort

    but it actually calculates the border elements which also includes the elements in first and and last columns and not just rows.
  5. I

    Comp Sci Matrix problem in java using bubble sort

    I have taken the variables as follows: A[][]=the matrix max=to store the maximum integer value present in the matrix min=to store the minimum integer value present in the matrix sum=to store the sum of boundary elements display()=methos to print matrix sort()=method to sort matrix in descending...
  6. I

    Learning Data Structures in Java: Circular Queue

    I tried again.This time I was able to compile it it is printing "Queue is Empty" when it should print "Queue is full" Also I don't know what to do with the value returned by the pop() function/should I simply print it? import java.io.*; class CirQueue { int cirque[]; //to store the...
  7. I

    Learning Data Structures in Java: Circular Queue

    Summary:: I have recently started with data structures in java and I tried doing this Program .But I have few confusions. 1.How do I write the main() of the program? 2.What are we supposed to do with the value returned by function pop()? If anyone could point out if there are any errors and...
  8. I

    Today I Learned

    Today I learned about amazing facts that Green Chemistry is resulting in.and It is actually turning Oranges to plastic! http://advancinggreenchemistry.org/tag/co2/#:~:text=The%20results%20are%20explained%20in,the%20carbon%20dioxide%20they%20produce.
  9. I

    Bubbles in a falling glass of champagne

    I agree with you. I think when the glass is released,the bubbles will remain stationary until the glass hits the floor .due to inertia,the bubbles will remain stationary and will not even rise with respect to the glass.
  10. I

    B Why does my head feel heavy when I go out on a cold weather day?

    If you're asking out of curiosity,I think that is because when you move out from your house,there's a sudden change in temperature and as a defence mechanism of our body,the blood vessels beneath our skin contract to prevent the body from escaping.This is known as Vasoconstriction.It could be...
  11. I

    Why does pressure need to be constant in all directions to maintain equilibrium?

    the condition is not for the pressure to be constant,Infact,the pressure is not CONSTANT ,it is EQUAL(or same) on every face of the cube .the pressure is equal because the a liquid exerts equal perpendicular force on every face of the cube and since ,According to pascal's law, P=F/A;(Force is...
  12. I

    What can a grade 12 student learn about physics and programming?

    Hi guys. I'm ishika and I'm always fascinated by science.and i specially love physics. I also like programming.currently,I'm doing java. I found that there's a lot I could learn from here. I'm a grade 12 student and I look forward to learn a lot more with you guys.
Back
Top