Search:

Type: Posts; User: sorbazz

Search: Search took 0.22 seconds.

  1. Replies
    7
    Views
    1,226

    Re: problems with for loop

    import java.util.ArrayList;
    import java.util.Scanner;
    import java.util.Iterator;



    public class Register{
    public static void main(String []args){

    double tailLength;
  2. Replies
    7
    Views
    1,226

    Re: problems with for loop

    I can't make it work @Norm =/
  3. Replies
    7
    Views
    1,226

    Re: problems with for loop

    Norm what do you mean, using a normal for loop? I have tryed but I cant seem to make this one work. Is the last piece of my assignment...
  4. Replies
    7
    Views
    1,226

    problems with for loop

    case 3:
    System.out.println("Hundens namn: ");
    String todelete=scan.nextLine();

    for (Dog h : dogs)
    if (h.getname().equals(todelete))
    {
    ...
  5. Replies
    1
    Views
    1,738

    String input = keyboard.nextLine();

    import java.util.Scanner;

    public class beraknaTal {

    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);


    int resultat, tal1, tal2;
  6. Replies
    4
    Views
    1,378

    Re: Beginner help with a do loop

    import java.util.Scanner;

    public class beraknaTal {

    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);


    int resultat, tal1, tal2;
  7. Replies
    4
    Views
    1,378

    Beginner help with a do loop

    import java.util.Scanner;

    public class aritmetik {

    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);


    int resultat, tal1, tal2;
  8. Replies
    4
    Views
    1,199

    Re: Problem with if

    I made it work Norm ;D


    import java.util.Scanner;

    public class aritmetik {

    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);
  9. Replies
    4
    Views
    1,199

    Re: Problem with if

    @Norm I really donīt know. Just started programming two days ago. Suggestions?
  10. Replies
    4
    Views
    1,199

    Problem with if

    import java.util.Scanner;

    public class aritmetik {

    public static void main(String[] args) {
    Scanner keyboard = new Scanner(System.in);

    int tal1, tal2, result;
    ...
Results 1 to 10 of 10