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プログラムの中で明示的にフ ァイルに出力することもできるので すがここでは安直な方法を取ります

Unresolved Answers: 1
English Senior High

ここだけ❔だったので教えてください🙇‍♀️🙇‍♀️😭

I finni <3> silt to nobieg odi mi sami lan 20 yw en nobing rid of omo of grine 10w7 1'abib ins) SAT One morning the Giant was lying awake in bed when he heard some lovely music. It was nabung end mi var li good of lloge s Teao bar i deflora really only a little linnet singing outside his window. matrica Tegio oft roda to nol bed "I believe the Spring has come at last," said Trobing sili ni zeng out moil to omes to woft fiflituned e nad w borsqged IndW (18 the Giant, and he jumped out of bed and looked out. utzon grigniz borcie il olos ni nobing di borsvoobris bomoold i nings bid bre nemblido odi zol yozilli ood lat s oni wang il What did he see? 1 S E He saw a most wonderful sight. In every tree that he could see there was a little child. The (ne qmo'e'inci adi bevol d trees were so glad to have the children back again that they had covered themselves with blossoms 2991 bre Rewal od bojom of new ad Comoonbib aane lodi bo w god 20111 and were waving (A)their arms gently above the children's heads. The birds were flying about and frot ogod tanto dello? odi bib talW SIE Todo ad mi sunaris A twittering with delight, and the flowers were looking up through the green grass and laughing. It 2007) ont to gnimozzold of T was a lovely scene, but in one corner it was still winter. It was the farthest corner of the garden, and in it was standing a little boy. He was so small that he could not reach up to the branches of AUTRICHEKESHO SOTH SEHEKAYET EIN ogbrit adi ni fistus (1) the tree, and he was wandering all round it, crying bitterly 10 The Giant's heart melted as he looked out. "How selfish I have been!" he said. di area hil olid on silt (S) 問

Resolved Answers: 1
English Senior High

In Yemen〜からの訳でなぜ名詞構文になっているかわからないです。何百年にもわたってと世界で独占的な地位を占めていたという訳のところが理解できないです。 heldにそんな訳あったっけみたいや感じです。、 あと何世紀も後にアメリカ人がこの地名にちなんでチョコレート風味のコ... Read More

Each culture [along the Coffee Road] left its mark (on the drink). (In V O S Yemen, [which held a global monopoly [on coffee] (for hundreds of years)]), 3 語句 は opened と spread を結 from there という副詞のカタマリが入っていま 6 具体例の合図 固有名詞→ 3 Yemeni people traded the beans V S O the roasting [of coffee ] became a custom. C ST (via the Red Sea port of Mocha) [(after which, (centuries later), Americans OSH S → 名詞構文 V' で訳す various S 9 would name their chocolate-flavored coffee)]. (In Turkey), V' O' 固有名詞 → 具体例の合図 [including cinnamon] were added 10 The Tunisians improved the drink (with orange-flower water), and the Moroccans added dried rose blossoms as well as V Smes in inco ja and thoment S FASO spices balsamic spices. quantveel) aning insiday A sdi qu nomy ,' 何 [mg 『コーヒーロード沿いのそれぞれの文化が,この飲み物に影響を残している。7 百年にもわたって、コーヒーにおいて世界で独占的な地位を占めていたイエメン では、コーヒーの焙煎が慣習になった。 イエメンの人々はモカ(何世紀も後に、 hasons アメリカ人がこの地名にちなんでチョコレート風味のコーヒーに名前をつけるこ とになる)の紅海に面した港を経由して豆の取引を行った。 トルコでは、シナ モンなどの様々な香辛料が加えられた。 10 チュニジア人は橙花水を加えてコーヒ 一の風味をよくし, モロッコ人はバルサムの香辛料だけでなく、乾燥させたバラ の花びらを加えた。 Purifioing (Static) 6 Bleave one's mark on ~ ~に強い影響を残す/monopoly 圏独占 / roasting 名 焙煎 / via ~ 圃 〜経由で/Red Sea 紅海 / port ③ 港 / name A after B B にちなんでAに名前をつける / including [前 ~を含めて,~などの/

Unresolved Answers: 0
English Senior High

至急❗️大門3と大門4がわかりません。教えて下さい。よろしくお願いします。

3 次の英文の( )に入れるのに最も適当なものを1つ選び、記号を○で囲みなさい. (1) 2012 is the year ( 7. when ) our soccer team played in the finals. 1. where . which (2) Japan is the country ( 7. how ) people drive on the left. 1. that . where ) I respect him. (3) My father works hard every day. That's ( 7. how 1. when . where (4) There are some points ( ) I disagree with you. 7. how 1. when . where ) our city is often attacked by typhoons. (5) Summer is the season ( 7. how 1. when . where ) a famous novelist lives. (6) That is the house in ( 7. that 1. which (7) I caught a cold. This is ( 7. how (8) The time will come ( (2) That is the point when you are mistaken. I. why * drive on the left 「(車が) 左側を走る」 I. which (3) I want to know the way you cooked this delicious dish. . where ) I will be absent from today's meeting. 1. which . why I. whose ) humans live to be 150 years old. *live to be ~ 「~になるまで生きる」 1. when 7. how . where I. why (9) I'm interested in publishing a book. Could you tell me ( ) you published your book? 7. that 1. how . which I. whose (4) That is the bakery where my aunt opened last week. I. why I. why 4 次の英文の誤りを正しく直し、全文を書きかえなさい. 誤りがない場合は,解答欄に○を書きなさい. (1) Please tell me the exact time where you will arrive here. (5) Do you know the place where we often gather and have lunch in? I. whose I. whose (6) In our house, we have a beautiful flower bed where my mother loves. * flower bed 「花だん」

Unresolved Answers: 1