codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Program Creat Menu
http://codesprogram.blogspot.com/2007/05/program-creat-menu.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Public class Menu {. Public static void main(String[] args) {. System.out.println("1.Add");. System.out.println("2.Sub");. System.out.println("3.Mul");. System.out.println("4.Def");. System.out.println("5.Pow");. System.out.println("6.square");. System.out.print("Enter A : ");. System.out.print("Enter B : ");. System.out.println("Ans is " c);. Int a2,b2,c2;. System.out.print("Enter A : ");. System.out.print("Enter B : ");. Int a3,b3,c3;. Int a4,b4,c4;.
codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Program OrderTest
http://codesprogram.blogspot.com/2007/05/program-ordertest.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Public class OrderTest2 {. Public static void main(String[] args) {. Order2 order1 = new Order2("Fried Rice", 2, 17);. Order2 order2 = new Order2("Fanta", 4, 6);. Order1 คือ Instance. Order2 คือ Instance. System.out.println("Order #1");. System.out.println(order1); / จะรู้อัตโนมัติว่าต้องไปเรียกใช้ ToString. System.out.println("Order #2");. System.out.println("- - - - - - - - - - - - - - -");. Order2.setVAT(8.0f);. Private static double vat = 7.0f;.
codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Weight conversion of pounds to ounces
http://codesprogram.blogspot.com/2007/05/weight-conversion-of-pounds-to-ounces.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Weight conversion of pounds to ounces. Read first weight in pounds */. Printf(" n n tWeight in pounds? Scant("%d",£s);. Loop until user signals halt with negatie integer. */. Printf(" n n tEquivalent weight in ounces: %d", pounds * 16);. Printf(" n n tWeight in pounds? Printf(" n n tEnter a negative integer to quit.");. Scanf("%d",£s);. Subscribe to: Post Comments (Atom). Weight conversion of pounds to ounces. Counts the number of bytes in a file.
codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Program Shape
http://codesprogram.blogspot.com/2007/05/program-shape.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Public class ShapeMain {. Public static void main(String[] args) {. Rectangle r1,r2;. Circle c1,c2;. R1 = new Rectangle();. R2 = new Rectangle(10,20);. C1 = new Circle();. C2 = new Circle(30);. Subscribe to: Post Comments (Atom). Weight conversion of pounds to ounces. Counts the number of bytes in a file. Main Page Code Program. About C and About Java. 05/06 - 05/13 (18). Study Code Program Java. Watermark template. Powered by Blogger.
codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Program DetailStudent
http://codesprogram.blogspot.com/2007/05/program-detailstudent.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Public class DetailStudent {. Public static void main(String[] args) {. Detail std1 = new Detail("Fried","Rice",19,170);. Detail std2 = new Detail("Fanta","Four",15,172);. Detail std3 = new Detail("A2","Four",18,160);. Std1 คือ Instance. Std2 คือ Instance. System.out.println("นักเรียนคนที่ # " std1.getCounter() ;. System.out.println(std1); / จะรู้อัตโนมัติว่าต้องไปเรียกใช้ ToString. Private static double total=0;. Private String firstname;.
codesprogram.blogspot.com
CodeProgram Java & C [ *@*]: Program DataPerson 1
http://codesprogram.blogspot.com/2007/05/program-dataperson-1.html
CodeProgram Java and C [ *@*]. Tuesday, May 8, 2007. Public class DataPerson {. Public static void main(String[] args){. Person P1,P2;. Student std1,std2;. Teacher th1,th2;. P1=new Person("แดง","042814148",21);. P2=new Person("ดำ","017007001",18);. Std1=new Student("สาคร","0875090940",21,"4914210019");. Std2=new Student("จารุวรรณ","0815463627",21,"4914210002");. Th1=new Teacher("สมชาย","0854903454",30,"วิทยาศาสตร์");. System.out.println(P1);. System.out.println(P2);. System.out.println(std1);. Counts the...
studycodeprogram-c.blogspot.com
Study Code Program C data structure: Bubble sort
http://studycodeprogram-c.blogspot.com/2007/05/bubble-sort.html
Study Code Program C data structure. Sort more then to Least By Linked List. Average By Linked list. Oracle and Java Blog. Javanet Forums: Message List - Java Web Services and XML. Thursday, May 10, 2007. Void print array(int *array) {. For(x = 0; x. Printf("%d, ", array[x]);. Printf("%d n", array[x]);. Srand( unsigned int)time(NULL) ;. For(x = 0; x. Iarray[x] = (int)(rand() % 100);. Printf("initial data n");. For(x = 0; x. For(y = 0; y. If(iarray[y] iarray[y 1]) {. Temp = iarray[y 1];. Iarray[y] = temp;.