/* 自定義代碼塊樣式 */

herrDeng網內搜尋

自訂搜尋

Ads

2015年12月11日 星期五

程式設計練習3

找出小於120的所有孿生質數(twin prime)

程式設計練習2

String X=" What  test is that? this is a....."
1.去掉空格
2. 取子字串4~21
3. this->這, is->是, a->一個, test->嘗試
4. 改大寫
5. 字串反轉
6. 將字串2,4,6,8,10,.....的字元組成一新字串
Related Posts Plugin for WordPress, Blogger...

熱門文章