Hi Greg!
I was able to do it as you said, I built my stack without the usage of collections and worked great! Thanks for the tip, drafting it in paper worked for me.
I am now having an issue...
Type: Posts; User: valam
Hi Greg!
I was able to do it as you said, I built my stack without the usage of collections and worked great! Thanks for the tip, drafting it in paper worked for me.
I am now having an issue...
Hi Greg!
Ok! I understand what you are saying and trust you that it is an infinite loop (no wonder why the CPU usage is 100% haha), I thought that while (pila.peek() != n || pila.isEmpty()) this...
Hello! I am pretty new to java, so pleasee be patient with me :o !!
Ok, so I am trying to remove a value from a stack that is not in the top of the stack using only stacks, so I basically created...
yeiiii!!!, it was a simple mistake, but a HUGE mistake too... !! THANK YOU!!...
I removed the loop I had, it was increasing the number i entered, so it was not helping at all....
public...
package Trabajo;
import javax.swing.JOptionPane;
public class Asignaturas {
String matrizAsignaturas[];
public int Programa;
Ok, so I think I am pretty confused here... At the begining I wanted to create a 2D array, now thanks to your comments I realized it was actually 1D, and I fixed that already...
Now, what I trying...
Thank you all for your answers...
I think I see where the problem is... I will be back in a few after I try :)
@jps You are right, I shouldn't be doing that. What exactly is the return...
Hello!
I am pretty new with java, I've been reading about it the last month and well I am practicing, so please be patient with me!
So, I have this array matrizAsignaturas and I am trying to...