freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

簡易計算器課程設(shè)計(存儲版)

2025-02-12 16:02上一頁面

下一頁面
  

【正文】 (false)。 (true)。 (true)。 } if (temp == eight){ String oct = ()。 } if (temp == ten){ String dec = ()。 ()。 } if (temp == c){ (0.)。 clear = true。 (() + 4)。 } if(temp == num7){ if(clear==false) ()。 clear = true。 for (int i = 0。 } try{ if (temp == jia){//加法 qian = (())。 clear = false。 ()。//要清空前一次的數(shù)據(jù) } if(temp==cos){ ((((())*)))。) (負(fù)數(shù)不能開根號)。 else{ boolean isDec = true。 for (j = i + 1。 k i。 i ()。.39。39。 + s)。 i++) strDecNum = 0 + strDecNum。 } switch (currentNum){ case 15: strHexNum += F。 case 11: strHexNum += B。 while (decNum != 0){ if (decNum 7){ strOctNum += (decNum % 8)。 }else{ strBinNum += (decNum)。 } } for(int i=length。 }}34。padding0。 while (decNum != 0) { if (decNum 1){ strBinNum += (decNum % 2)。 } } return invert(strHexNum,2)。 case 12: strHexNum += C。 } else{ currentNum = decNum。 for (int i = ()。 } }//如果當(dāng)前字符串第一個字符不是符號,則添加一個符號在首字母處 else (39。39。939。 String s = ()。 } if (isDec == true){ String stemp = 。.39。amp。 if ((0) == 39。 if(fuhao==%) (qian%ss + )。 clear = false。 } if (temp == cheng){ qian = (())。 }//第一層判斷是否里面含有小數(shù)點。 if(temp==ff) (() + F)。 } if(temp==num9){ if(clear==false) ()。 (() + 6)。 clear = true。 } if(temp == num1){ if(clear == false) ()。 clear = true。 clear = false。 ((intbin))。//先把數(shù)變?yōu)?0進(jìn)制 ((inthex))。 (true)。 } if (temp == s){//科 (true)。 (●標(biāo)準(zhǔn)型)。 first = 0。+\n)。 (執(zhí)行簡單計算 +\n)。 (s)。 exitItemOfFile = new JMenuItem(粘貼V Ctrl+V)。 setJMenuBar(mainMenu)。 ()。 ()。 ()。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (eight)。 ce=new JButton(CE)。 (eight)。 num9=new JButton(9)。 num6=new JButton(6)。 kai = new JButton(sqrt)。 jian = new JButton()。 (false)。 (false)。 (new GridLayout(1,1))。 ()。 int all=0。//各個進(jìn)制之間的轉(zhuǎn)化 JMenuItem fileMenu,exitItemOfFile,s,t, about, me。由于專業(yè)知識有限,以及動手能力的欠缺,所以開發(fā)的系統(tǒng)不是很完善,有一些功能未實現(xiàn),但是簡易計算器的基本功能均已實現(xiàn)。本次的Java課程設(shè)計讓我對Java的理論知識又有了更深一步的了解,溫故而知新,開始設(shè)計時完全沒頭緒,感覺很混亂,對書本知識不夠扎實的我深感“書到用時方恨少”,只好又一遍瀏覽全書,讓我對其有了大概的復(fù)習(xí),對知識系統(tǒng)全面進(jìn)行了了解,讓我里出了我設(shè)計的框架,遇到困難時先是苦思冥想在向同學(xué)請教。padding0。 while (decNum != 0) { if (decNum 1){ strBinNum += (decNum % 2)。 } } return invert(strHexNum,2)。 case 12: strHexNum += C。 } else{ currentNum = decNum。 for (int i = ()。 i ()。||(i)==39。 i++) if(!((i)=39。 k++) stemp += (k)。 j ()。 int i, j, k。 else ((((()))))。 } if(temp==sin){((((())*)))。 if (fuhao == +) (qian + ss + )。 } if(temp==chu){ qian = (())。 fuhao = +。  (2. 單擊“+”執(zhí)行加、“”執(zhí)行減、“*”執(zhí)行乘或“/”執(zhí)行除+\n)。 addWindowListener(new WindowDestroyer())。 (this)。 (this)。 JMenu editMenu = new JMenu(編輯)。 ()。 ()。 ()。 (tan)。 (jia)。 (dao)。 (num1)。 (num5)。 (num9)。 (two)。//CE ()。 (two)。 (this)。 num7=new JButton(7)。 dao = new JButton(1/x)。 cheng = new JButton()。 dd = new JButton(D)。 two=new JRadioButton(二進(jìn)制)。 (new GridLayout(2,4))。//從左到右 JPanel cp1=new JPanel()。 double qian。 JRadioButton sixteen,ten,eight,two。 ** 繼承的父類: WindowAdapter類 ** 實現(xiàn)的接口:無 ************************************************************ 類名: objConversion ** 作用: 各個進(jìn)制之間的轉(zhuǎn)換。菜單中包含的一些功能,如幫助文檔。在菜單欄有查看、編輯、幫助菜單,在“查看”菜單中有“標(biāo)準(zhǔn)型”菜單項,實現(xiàn)加減乘除等基本功能,“科學(xué)型”菜單項,實現(xiàn)進(jìn)制間的轉(zhuǎn)換。21八、源代碼5二、問題描述及要求 在我的計算器上實現(xiàn)了以上功能。十進(jìn)制與二進(jìn)制、八進(jìn)制、十六進(jìn)制之間的轉(zhuǎn)換。** 繼承的父類: JFrame類 ** 實現(xiàn)的接口:ActionListener類 ************************************************************ 類名: WindowDestroyer ** 作用: 退出窗口動作。  JMenuItem fileMenu,exitItemOfFile,s,t, about, me。 int all=0。 ()。 (new GridLayout(1,1))。 (false)。 (false)。 jian = new JButton()。 kai = new JButton(sqrt)。 num6=new JButton(6)。 num9=new JButton(9)。 (eight)。 ce=new JButton(CE)。 (eight)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 ()。 ()。 ()。 setJMenuBar(m
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1