eng
competition

Text Practice Mode

Programmersguide_1: Java

created Oct 26th 2020, 18:03 by fastestonearth


4


Rating

123 words
19 completed
00:00
So as a programmer I need to type very fast. The thing is, that when you are programming you need characters that are seldomly in use!!
As a result my skill in 10-finger-typing is decent, though in programming I still lack speed and accuracy.
For those people with me, here is the first guide. Lets start with Java:
void main(...) {
    int[] integer_array = new int[100];
    for(int i = 0, length_array = integer_array.length; i < length; i +=1){
        integer_array[i] =(int) (Math.random() * 100 - 200); //integer_array is filled with values from -100 until +100
        if(integer_array[i] == i || (integer_array == i * -1 && i % 2 == 0)){ // some usless operation
            integer_array[i] = 0;
            System.out.print(integer_array[i] + " ");
        }
    }
}

saving score / loading statistics ...