Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   <pencerahan> tolong benerin code java ane dunk (https://forum.ceriwis.com/showthread.php?t=573552)

Servermaster 20th November 2011 01:52 AM

<pencerahan> tolong benerin code java ane dunk
 
bantu ane dunk gan kasih pencerahan buat progam pake jcreator:



Buatlah sebuah program Java Application dengan tampilan Output di bawah ini:





Menu

1. Program deret

1 3 5 7 9

1 3 5 7

1 3 5

1 3

1

2. Program nama

Jakarta

Jakart

Jakar

Jaka

Jak

Ja

J

3. Exit





ini hasil code ane tolong tambahin n kasih pencerahanya ya gan



/**

* @(#)progam_aplikasi.java

*

* progam_aplikasi application

*

* @author joko

* @version 1.00 2010/11/21

*/



public class progam_aplikasi {



public static void main(String[] args) {





System.out.println("Menu");

or(int i = 9; i >= 1; i--)

{

for(int j = 1; j = 1; i--)

{



for(int j = 0; j < i; j++)

{



}



System.out.println();



}

</div>


All times are GMT +7. The time now is 07:38 AM.