Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Madesmith

Modern handmade. New designers every week.
From our sponsors
這個java程式 怎麼成隨機隱藏字串
Aug 9th 2013, 16:35

import java.io.*;
public class text
{
public static void main(String[] args) throws IOException
{
int a;
String s;
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
System.out.print(" Enter the word:");
s=buf.readLine();
System.out.print(" "+s);

}

}

像輸入
Enter the word: apple
The hidden word is *p *l *.
就是隨機隱藏你所輸入的英文
我現在只有輸入apple
會顯示apple
我要如何用加入隨機的東西
來隱藏他的英文字母
隱藏的字母以 * 號來隱藏

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

    全站熱搜

    kkotgszvx368m 發表在 痞客邦 留言(0) 人氣()