String x = new String(""); Scanner inputScanner = new Scanner(System.in); x = inputScanner.nextLine(); StringBuffer strBuffer = new StringBuffer(x); System.out.println(x.toUpperCase()); System.out.println(strBuffer.reverse());
System.out.println("請輸入"); Scanner a = new Scanner(System.in); String b = a.nextLine(); StringBuffer sb = new StringBuffer(); sb.append(b); sb.reverse(); System.out.println(String.valueOf(b).toUpperCase()); System.out.println(sb); }
public class Test_01 { public static void main(String[] args) { Scanner kb = new Scanner(System.in); System.out.print("請輸入字串:"); String x = kb.nextLine(); System.out.println(x.toUpperCase()); StringBuffer xu = new StringBuffer(x); System.out.print(xu.reverse()); } }
String x = new String(""); Scanner inputScanner = new Scanner(System.in); x = inputScanner.nextLine(); StringBuffer strBuffer = new StringBuffer(x); System.out.println(x.toUpperCase()); System.out.println(strBuffer.reverse());
String x = new String(""); Scanner inputScanner = new Scanner(System.in); x = inputScanner.nextLine(); StringBuffer strBuffer = new StringBuffer(x); System.out.println(x.toUpperCase()); System.out.println(strBuffer.reverse());
50 則留言:
String x = new String("");
Scanner inputScanner = new Scanner(System.in);
x = inputScanner.nextLine();
StringBuffer strBuffer = new StringBuffer(x);
System.out.println(x.toUpperCase());
System.out.println(strBuffer.reverse());
import java.util.*;
public class abc {
public static void main(String[] args) {
System.out.println("請輸入");
Scanner a = new Scanner(System.in);
String b = a.nextLine();
StringBuffer sb = new StringBuffer();
sb.append(b);
sb.reverse();
System.out.println(String.valueOf(b).toUpperCase());
System.out.println(sb);
}
}
import java.util.Scanner;
public class ex01 {
public static void main(String[] args) {
Scanner kb=new Scanner(System.in);
System.out.print("請輸入字串:");
String x=kb.nextLine();
System.out.println(x.toUpperCase());
StringBuffer Xb=new StringBuffer(x);
System.out.println(Xb.reverse());
}
}
import java.util.Scanner;
public class Test_01 {
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
System.out.print("請輸入字串:");
String x = kb.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xu = new StringBuffer(x);
System.out.print(xu.reverse());
}
}
import java.util.Scanner;
public class ex01 {
public static void main(String[] args) {
Scanner kb=new Scanner(System.in);
System.out.print("請輸入字串:");
String x=kb.nextLine();
System.out.println(x.toUpperCase());
StringBuffer Xb=new StringBuffer(x);
System.out.println(Xb.reverse());
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class ex1 {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class ket {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class hello {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.print("請輸入:");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class san {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.Scanner;
public class ex1 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String x=sc.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xb=new StringBuffer(x);
xb.reverse();
System.out.println(xb);
}
}
import java.util.*;
import java.util.StringTokenizer;
public class java {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.Scanner;
public class aaa {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String X=sc.nextLine();
System.out.println(X.toUpperCase());
StringBuffer Xb=new StringBuffer();
Xb.append(X);
Xb.reverse();
System.out.println(Xb);
}
}
import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("字串反轉:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));}
System.out.println();
}
}
import java.util.Scanner;
public class aaa {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String X=sc.nextLine();
System.out.println(X.toUpperCase());
StringBuffer Xb=new StringBuffer();
Xb.append(X);
Xb.reverse();
System.out.println(Xb);
}
}
import java.util.Scanner;
public class got {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String x=sc.nextLine();
String str=("abc");
System.out.println(str.toUpperCase());
String str1=("abc");
String X;
StringBuffer Xb=new StringBuffer(str1);
System.out.println(str1);
Xb.reverse();
System.out.println(Xb);
}
}
import java.util.*;
import java.util.StringTokenizer;
public class apple {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
String x =input.nextLine();
System.out.println(x);
System.out.println(x.toUpperCase());
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class MtcTW {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
String x =input.nextLine();
System.out.println(x);
System.out.println(x.toUpperCase());
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class sam {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
String x =input.nextLine();
System.out.println(x);
System.out.println(x.toUpperCase());
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
public class ts1 {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.Scanner;
public class StringBuffer {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String X=sc.nextLine();
System.out.println(X);
System.out.println(X.toLowerCase());
}
}
import java.util.*;
class sor{
public static void main(String[]args){
Scanner ii=new Scanner(System.in);
String x=ii.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xb=new StringBuffer(x);
xb.reverse();
System.out.println(xb);
}
}
import java.util.*;
public class ts1 {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.*;
public class ex1 {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.*;
public class bbb {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.*;
public class pso2 {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.*;
public class aa1 {
public static void main(String[] args)
{
Scanner c=new Scanner(System.in);
String small=c.nextLine();
String big=small.toUpperCase();
System.out.println(big);
StringBuffer xb=new StringBuffer(big);
xb.reverse();
System.out.print(xb);
}
}
import java.util.*;
public class aa {
public static void main(String[] args) {
Scanner sc = new Scanner (System.in);
String x=sc.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xb=new StringBuffer(x);
System.out.println(xb.reverse());
}
}
import java.util.*;
public class aa {
public static void main(String[] args) {
Scanner sc = new Scanner (System.in);
String x=sc.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xb=new StringBuffer(x);
System.out.println(xb.reverse());
}
}
import java.util.Scanner;
public class hello123 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String X=sc.nextLine();
System.out.println(X);
System.out.println(X.toUpperCase());
StringBuffer sb=new StringBuffer();
sb.reverse();
System.out.println(X+sb);
}
}
import java.util.Scanner;
public class hello123 {
public static void main(String[] args) {
Scanner sc=new Scanner (System.in);
String X=sc.nextLine();
System.out.println(X);
System.out.println(X.toUpperCase());
StringBuffer sb=new StringBuffer();
sb.reverse();
System.out.println(X+sb);
}
}
import java.util.Scanner;
public class NYPD {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String X=sc.nextLine();
System.out.println(X);
System.out.println(X.toUpperCase());
StringBuffer sb=new StringBuffer();
sb.reverse();
System.out.println(X+sb);
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
⋯⋯ System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}更多
import java.util.*;
import java.util.StringTokenizer;
public class ex1 {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
⋯⋯ System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
mport java.util.*;
import java.util.StringTokenizer;
public class hello1 {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class ex1 {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class ex1 {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.Scanner;
public class ex01 {
public static void main(String[] args) {
Scanner kb=new Scanner(System.in);
System.out.print("請輸入字串:");
String x=kb.nextLine();
System.out.println(x.toUpperCase());
StringBuffer Xb=new StringBuffer(x);
System.out.println(Xb.reverse());
}
}
import java.util.*;
import java.util.StringTokenizer;
public class test {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class app {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
public class abc {
public static void main(String[] args) {
System.out.println("請輸入");
Scanner a = new Scanner(System.in);
String b = a.nextLine();
StringBuffer sb = new StringBuffer();
sb.append(b);
sb.reverse();
System.out.println(String.valueOf(b).toUpperCase());
System.out.println(sb);
}
}
public class abc {
public static void main(String[] args) {
System.out.println("請輸入");
Scanner a = new Scanner(System.in);
String b = a.nextLine();
StringBuffer sb = new StringBuffer();
sb.append(b);
sb.reverse();
System.out.println(String.valueOf(b).toUpperCase());
System.out.println(sb);
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("大寫轉小寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.*;
import java.util.StringTokenizer;
public class aa {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
System.out.println("請輸入");
String x =input.nextLine();
System.out.println(x);
System.out.println("小寫轉大寫:"+x.toUpperCase());
System.out.print("文字顛倒:");
for(int i=x.length(); i>0; i--){
System.out.print(x.charAt(i-1));
}
System.out.println();
}
}
import java.util.Scanner;
public class ex1 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String x=sc.nextLine();
System.out.println(x.toUpperCase());
StringBuffer xb=new StringBuffer(x);
xb.reverse();
System.out.println(xb);
}
}
String x = new String("");
Scanner inputScanner = new Scanner(System.in);
x = inputScanner.nextLine();
StringBuffer strBuffer = new StringBuffer(x);
System.out.println(x.toUpperCase());
System.out.println(strBuffer.reverse());
String x = new String("");
Scanner inputScanner = new Scanner(System.in);
x = inputScanner.nextLine();
StringBuffer strBuffer = new StringBuffer(x);
System.out.println(x.toUpperCase());
System.out.println(strBuffer.reverse());
張貼留言