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

109番〜120番の答えないため確認できないのでみなさんの回答をよろしくお願いします🙇‍♀️

109. The hotel's ------- shuttle bus will take st guests to Hong Kong's major landmarks. months of work to sell the Apton Building, the realtor finally succeeded last cm week, al bas 110. (A) compliments (B) complimentary (C) compliment (D) complimenting (A) Besides (B) After (C) Still (D) For 111. We will review all four custodial-service bids ains and choose ------- that suits our needs. reauozib ybisenie Azoril (A) some (B) one (C) others (D) either olde 27 112. The client asked for the advertising text. (A) standards (B) drawings (C) revisions (D) duplications 113. Please be advised Juoriquant (A) phols is (0) dourn co! (0) entste wob (0) (A) that (B) of (C) whether (D) between (A) obtains (B) competes (C) inquires (D) claims brojed (A) etion ------- we have had to cancel your order because of a difficulty with our shipping agent. polisem to the images in ont est ------- (9 114. Tin Creek Corporation towels are the most absorbent on the market. .OET that its paper 115. KCLN Associates will enter into a business with the contractor as soon as some of the terms are renegotiated. (A) agreed (B) agreement (C) agreeable (D) agreeing 116. ------- ---- registering for online banking is not required, we strongly recommend it to all of our customers. (A) Although (B) Instead (C) Regardless (D) Despite 117. Viewers can easily ------- to the main character in the popular television series Autumn Mystery. (A) related (B) relatable (C) relating (D) relate of 118. Fairlawn Medical Clinic offers a full ------- services as part of its community wellness programs. (A) center (B) surplus (C) range (D) type ROT 119. The rear entrance to RC Bank will be closed for repairs and not next Monday. (A) accessible (B) accessing (C) access (D) accesses (A) decidedly (B) furthermore (C) rather (D) everywhere allory (5) vetele (0) balio (0) 120. Mr. Carson wants to see Carson audio products -------, even in remote regions of the world. TEST

Waiting Answers: 1
English Senior High

答えがないので正誤判定お願いしたいです。ちなみに、オレンジで囲ってるのが私の回答です。 最後(11)丸をし忘れましたが答えは2番にしました。 それとオレンジで囲ってみにくくなった英単語などは隣または近くに書きましたが,わからないとこあれば指摘ください。

⑤ 空欄の入る最も適切なものを選択肢から1つ選びなさい。 (1) What nobody would ( ) suggest is that women be told to stay at home dare (2) Scientits reported that monkeys had been seen ( V S use (複数扱 (3) The police ) the murder case at the moment. are investigating investigate may (5) You can avoid ( &n having M (7) My wife and I ( fear to be taking advantage of 2 have used 3 to aking advantage of by (6) I like watching Star Wars movies, but I ( had to cancel (4) I don't know where their wedding i going to be held, but if they decide on Kyoto, I definitely ( ) go. Zwill (9) Soccer ( (10) It ( 2 might has been got to know (8) All trains stopped (y s stopped (yesterday (11) I'd rather ( had to have 3 hope 2 had cancelled ) keeping yourself well informed and taking a few safety precautions. being taken advantage of by and the meeting ( 2 should well for you not to go out ) some simple tools just as human beings do. using Investigates ) so late at night.. ) each other since we were in high school) have been knowing 3 hay known 3 need 3 will be having 4 being taken advantage by ) enough of them by the time this one ends. wish C had to be cancelled 4 to using IS Ad 4 investigating can well ) be the world's most popular sport: however, baseball is more popular in the US may well ) a few days before we know the full results of the medical checkup. should have been 3 was you didn't go out willl have had 4 know had been to cancel 4 must well will be

Waiting for Answers Answers: 0