herrDeng網內搜尋

自訂搜尋

Ads

2015年9月18日 星期五

程式設計ex1

請用Java顯示以下字串:


開學了10
開學了9
開學了8
開學了7
開學了6
開學了5
開學了4
開學了3
開學了2
開學了1
開學了0

33 則留言:

A10433001 提到...

public class ex0918_2 {

public static void main(String[] args) {
System.out.println("開學了10");
System.out.println("開學了9");
System.out.println("開學了8");
System.out.println("開學了7");
System.out.println("開學了6");
System.out.println("開學了5");
System.out.println("開學了4");
System.out.println("開學了3");
System.out.println("開學了2");
System.out.println("開學了1");
System.out.println("開學了0");


}

}

A10433028 提到...

public class GG {

public static void main(String[] args) {
for(int i = 10; i >= 0;i--)
System.out.println("開學了"+i);

}

}

A10433043 提到...

public class EX1 {

public static void main(String[] args) {
System.out.print("開學了10");
System.out.print("開學了9");
System.out.print("開學了8");
System.out.print("開學了7");
System.out.print("開學了6");
System.out.print("開學了5");
System.out.print("開學了4");
System.out.print("開學了3");
System.out.print("開學了2");
System.out.print("開學了1");
System.out.print("開學了0");
}

}

A10433019 提到...

public class ex0918_2 {

public static void main(String[] args) {
System.out.println("開學了10");
System.out.println("開學了9");
System.out.println("開學了8");
System.out.println("開學了7");
System.out.println("開學了6");
System.out.println("開學了5");
System.out.println("開學了4");
System.out.println("開學了3");
System.out.println("開學了2");
System.out.println("開學了1");
System.out.println("開學了0");


}

}

A10433039 提到...

public class ap0918 {

public static void main(String[] args) {
System.out.print("開學了10");
System.out.print("開學了9");
System.out.print("開學了8");
System.out.print("開學了7");
System.out.print("開學了6");
System.out.print("開學了5");
System.out.print("開學了4");
System.out.print("開學了3");
System.out.print("開學了2");
System.out.print("開學了1");
System.out.print("開學了0");
}

}

A10433036 提到...


public class AP0918 {

public static void main(String[] args) {
System.out.print("開學了10");
System.out.print("開學了9");
System.out.print("開學了8");
System.out.print("開學了7");
System.out.print("開學了6");
System.out.print("開學了5");
System.out.print("開學了4");
System.out.print("開學了3");
System.out.print("開學了2");
System.out.print("開學了1");
System.out.print("開學了0");
}

}

A10433001 提到...

public class ex0918_2 {

public static void main(String[] args)
{
String x="開學了";

//for (int i = 0; i<=10; i++)
for (int a=10;a>=0;a--)
{
System.out.println(x+a);
}

}

}

A10433003 提到...

public class java0918 {

public static void main(String[] args) {
// TODO Auto-generated method stub
String x="開學了";
for (int i = 10; i >=0; i--) {
System.out.println(x+i);
}

}

}

A10433019 提到...


public class ex0918_2 {

public static void main(String[] args)
{
String x="開學了";

//for (int i = 0; i<=10; i++)
for (int a=10;a>=0;a--)
{
System.out.println(x+a);
}

}

}

A10433011 提到...

public class java0918 {

public static void main(String[] args) {
// TODO Auto-generated method stub
String x="開學了";
for (int i = 10; i >=0; i--) {
System.out.println(x+i);
}

}

}

a10433013 提到...


public class GG {

public static void main(String[] args) {
String x = "hello";
for (int i = 10; i >= 0 ; i--) {
System.out.println(x+i);
}

}

}

A10433016 提到...

public class ex0981 {

public static void main(String[] args) {
for (int i=10 ; i>=0; i--){
System.out.println("開學了"+i);
}
}
}

A10433008 提到...

public class ex0918 {

public static void main(String[] args) {
for(int i=10 ; i>=0; i--){
System.out.println("開學了"+i);
}
}

}

A10433006 提到...

public class ex0918 {

public static void main(String[] args) {
for(int i=10 ; i>=0; i--){
System.out.println("開學了"+i);
}
}

}

A10433038 提到...

public class hello {

public static void main(String[] args) {

System.out.println("開學了 10");
System.out.println("開學了 9");
System.out.println("開學了 8");
System.out.println("開學了 7");
System.out.println("開學了 6");
System.out.println("開學了 5");
System.out.println("開學了 4");
System.out.println("開學了 3");
System.out.println("開學了 2");
System.out.println("開學了 1");
System.out.println("開學了 0");
}

}

A10433024 提到...

public class hello {

public static void main(String[] args) {

System.out.println("開學了 10");
System.out.println("開學了 9");
System.out.println("開學了 8");
System.out.println("開學了 7");
System.out.println("開學了 6");
System.out.println("開學了 5");
System.out.println("開學了 4");
System.out.println("開學了 3");
System.out.println("開學了 2");
System.out.println("開學了 1");
System.out.println("開學了 0");
}

A10433036 提到...

public class AP0918 {
public static void main(String[] args) {
String X="開學了";
for (int i = 10; i >=0; i--) {
System.out.println(X + i);
}
}

}

A10433043 提到...

public class EX1
{
public static void main(String[] args) {
String X = "開學了";
for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}
}
}

A10433039 提到...

public class ap0918 {

public static void main(String[] args) {
String X = "開學了";
for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}



}

}

A10433007 提到...


public class hello {

public static void main(String[] args) {
String X="開學了";

for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}

}

}

A10433010 提到...

public class hello {
public static void main(String[] args) {
String X="開學了";

for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}
}
}

A10433004 提到...

public class em0918 {
public static void main(String[] args) {
String X="Hello";
for (int i = 10; i>=0 ; i--) {
System.out.println(X+i);
}

}

}

A10433018 提到...

public class esc1 {

public static void main(String[] args) {
String X="開學了";
for (int i =10; i >=0; i--)
System.out.println(X+i);
}

}

a10433020 提到...

public class we0918
{
public static void main(String[] args) {
String X="開學了";
for (int i =10; i>=0; i--) {
System.out.println(X+i);

a10433015 提到...

public class we0918
{
public static void main(String[] args) {
String X="開學了";
for (int i =10; i>=0; i--) {
System.out.println(X+i);

A10433022 提到...

public class ex0918 {
public static void main(String[] args) {
for (int i = 10; i >= 0; i--) {
System.out.println("開學了"+i);
}
}
}

A10433029 提到...

public class javahome2 {

public static void main(String[] args)
{
String X="Hello";
for (int i = 10; i >=0; i--)
System.out.println(X+i);

}

}

A10433014 提到...

public class hello {
public static void main(String[] args) {
String X="開學了";

for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}
}
}

A10433022 提到...

public class ex0918 {
public static void main(String[] args) {
for (int i = 10; i >= 0; i--) {
System.out.println("開學了"+i);
}
}
}

A10433004 提到...

public class em0918 {
public static void main(String[] args) {
String X="開學了";
for (int i = 10; i>=0 ; i--) {
System.out.println(X+i);
}

}

}

A10433029 提到...

public class javahome2 {

public static void main(String[] args)
{
String X="開學了";
for (int i = 10; i >=0; i--)
System.out.println(X+i);

}

}

B10133007 提到...

public class ex01 {

public static void main(String[] args) {

String X="Hello";

for (int i = 10; i>=0 ; i--) {

System.out.println(X+i);

}



}



}

B10133189 提到...

public class hello {
public static void main(String[] args) {
String X="開學了";

for (int i = 10; i >=0; i--) {
System.out.println(X+i);
}
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章