Thursday, July 30, 2009

Here good luck?

public class A1_Hello {


public static void main (String[] args) {





System.out.println(" int count;")


System.out.println("--------------------...


System.out.println("Dominican International School");


System.out.println("Class: 9P");


System.out.println("Name: John Smith");


System.out.println("Assignment 1: Hello World!");


System.out.println("--------------------...


System.out.println("Hello World!");


int a=20,b=7,c,e,f,g,h;








System.out.println("My two numbers are:" + a + "and" + b);





c = a + b;


System.out.println("Results of addition:" + c);











e = a - b;


System.out.println("Result of Subtraction:" + e);





f = a * b;


System.out.println("Result of multiplication:" + f);





g = a/b;


System.out.println("Result of Division:" + g);





h = a % b;


System.out.println("Remainder of division:" + h);











}


}

Here good luck?
Wonderful.
Reply:What is the question here again?


No comments:

Post a Comment