Grade

Type of questions

IT Undergraduate

vsコードを使ってJava言語の勉強をしてたんですけど初心者すぎて何が原因で上手くコードの実行ができてないのかわかりません… 勉強の資料として使ってるのは京都大学のJavaによるプログラミング入門 です。

17:43 7月27日 (木) 1.7 使用するサンプルプログラム (TankCalculator.java) 1: public class Tank Calculator { 2: public static void main (String args[]){ final double FLOW_RATE = 1.0; final double TANK_AREA = 20.0; final double INITIAL_LEVEL = 10.0; double time; //s double tankLevel; //m ... ocw.kyoto-u.ac.jp 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: time = 30; 14: tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; 15: System.out.println("Tank Level at time "+ time + "s = " + tankLevel + "m"); 16: 17: 18: 19: } 20:} 11 System.out.println("Flow Rate = + FLOW_RATE + "m** 3/s"); System.out.println("Tank Area=" + TANK_AREA + "m**2"); System.out.println("Initial Level = " + INITIAL_LEVEL + "m"); time = 60; tankLevel = INITIAL_LEVEL + FLOW_RATE*time/TANK_AREA; System.out.println("Tank Level at time "+ time + "s=" + tankLevel + "m"); 【補足】 // の後ろは,プログラムを後で読解しやすくするための注釈です. Flow Rate = 1.0m**3/s Tank Area = 20.0mm**2 Initial Level = 10.0m 8 Tank Level time 30.0s = 11.5m Tank Level at time 60.0s = 13.0m 1.7.1 サンプルプログラムの入力と実行 先ほどと同じように, 秀丸エディタを開き, 20行のプログラムを書き込んで, Tank Calculator.java と名付け, 保存して, コンパイル, 実行してください. 成功すれば,以下の実行結果が示されます。(失敗してもめげないで, 2.5.1 節を参 考に、原因を考え,再トライしてください) ちなみに, 実行結果をファイルに書き出すにはコマンドプロンプトの「リダイレク ト」 という機能を使います 11. java TankCalculator > result.txt これにより result.txt というファイルが出来ているはずです。 中身は数値や文字列 だけのテキストファイルですのでエディタなどで内容を確認できます。 @91% 11javaプログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

Waiting Answers: 1
English Senior High

4行目の42パーセントがなぜ42になるのか分かりません。教えてください。

6 グラフと英文について問いに答えなさい。もの K There has been growth in the sales of computer and video game units in the United States for the past 12 years. Perhaps the largest growth was between [ ] and [ ], when the sales of computer and video game units increased about 42 percent. After 1998, there has been a steady increase in the sales except in ts sold than in []. In 2006, the US computer were fewer units [], when there were to and video game software sales grew six percent. none od oals U.S. Computer and Video Game DOLLAR Sales Growth orond noologa ORA 8.0 7.0 vien.n 7.0 -7.4 7.1 7.0 s or saoby 6.0 5.0 14.0 13.0 2.6-- 2.0 1.0 速読問題 43NTO 3.7. mouter and vi 4.8 computer STR. STEST 5.5-5.6... 6.1 【目標時間 5分 】 Talouno A-43 (関東学院大) (各4点) SMOO simsbine 320.0 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 0.0 .noitonitys asgougnal ) Jonitzs „299sugnal artito e Year oqe sdb 10 Ilse Tho bollbl ti jeste sdo tir 1. 本文の空所に入る年の最も適切な順番を示した組み合わせを1つ選びなさい。 idal ① 1996-1997-2004-2005 regorin 2 1996 - 1997 - 2005 - 2004 3 1997 - 1998 - 2004 - 2005 to nl241997 - 1998 - 2005 - 2004 gablesqa gnirlismoe orbi xim yam yod 10 mi 10 ogsugnal assinoloo 2. 本文の内容に一致するように、次の質問に対する最も適切な答えを1つ選びなさい。 no senso que parve pegeuren enorget to sum gels Sie wer From this article, how high would the bar for 2006 for the total number of W morb 100 98 10qa amepad slenIA video games be? Approximately the same height as 2005. 2 Shorter than 2005. 3 Taller than 2005. 033ghel to vio 4 tell. It is impossible to go this fod Bhixe ed or go sew tadi sesugn tell. a los ama zagsugnal sviten od on T srit ni nosloga asw dojdw.raimoƆ bollas syaugmel och tarb bisa quong 002 【2 スニング なさい。英文は2度読まれます。 Fived

Waiting for Answers Answers: 0