Gå til innhold

Toad

Medlemmer
  • Innlegg

    323
  • Ble med

  • Besøkte siden sist

Innlegg skrevet av Toad

  1. class Calculator
    {
    	public void count(String args[])
    	{
    		int sum = Integer.parseInt(args[0]);
    		
    		//System.out.print("Result of the calculation " + sum);
    		for (int i = 2; i <= args.length; i += 2)
    		{
    			System.out.print(args[i-1]); // printer ++-
    			if (args[i-1] == "+")
    			{	
    				sum += Integer.parseInt(args[i]);
    			}
    			else if (args[i-1] == "-")
    			{
    				sum -= Integer.parseInt(args[i]);
    			}
    			//System.out.print(" " + args[i-1] + " " + args[i]);
    		}
    		//System.out.println(" is " + sum);
    	}
    }
    

    Får ikke noe utslag på "if" delen, noen forslag?

  2. handle: vvhorebeast

    .. lå på 7 plass globalt i trials 2 se, men suger nå som det er håndkontroll. Vil gjerne ha noen flere på friendslista, så jeg får noen alternativer i ghost. Og noen flere å knuse.

     

    T2SE <3 Føler også jeg er helt håpløs med håndkontroller, men blir vel bedre med tiden får vi håpe :D

     

    GT: TurbanToad

  3. Q: pacman is completely broken! How do I reinstall it?

    A: In the case that pacman is broken beyond repair, manually download the necessary packages (openssl, libarchive, libfetch and pacman) and extract them to root. The pacman binary will be restored along with its default configuration file. Afterwards, reinstall these packages with pacman to maintain package database integrity. Additional information and an example (outdated) script that automates the process is available in this forum post.

     

    Kanskje noe der kan hjelpe?

×
×
  • Opprett ny...