-
-
Originally posted by Krazy munky1980:
I hate computing. I dunno y we have t learn computing!! It gives me a headache! Does anybody agree with me?
No.
I take it as U meant programming.
Programming teaches U how to think sequentially...especially if U are doing C++.Not sure if students now learn C++ or Java in sch...
Anyway...for basic foundation...only need to know
1.how the program structure looks like
2. the libraries (ie #include for C++ or import for Java)
3.some basic functions like declare variables,take inputs,print output...that's all...
-
-
-
import java.util.Random;
public class Whiner extends Brainless {
private int IQ = -Infinity;
public int daysToLive = Random.nextInt(100);public static void main(String[] args) {
Whiner TS = new Whiner();
while(TS.daysToLive > 0) TS.whine();
}public void whine() {
System.out.print("I hate computing. I dunno y we have t learn computing!! It gives me a headache! Does anybody agree with me?");
IQ--;
daysToLive--;
}}
-
