学年

質問の種類

英語 中学生

解説してもらえませんか?

あと 次は,中学生のタケシ ( Takeshi) が書いたスピーチの原稿 の1~6の問いに答えなさい。 I am going to talk about my interesting experience. I went to London during this summer vacation with my family. This was my first trip to a foreign country. I wanted to know about London, so I looked for information about it on the Internet. I was able to see many famous things on the Internet before the trip. In London, we went to some popular places, for example, Buckingham Palace and Tower Bridge. I already saw them on the Internet, but they looked bigger and more beautiful to me when I saw them directly. I was ( )! When I walked around, I saw a lot of people from different countries, too. Then, we went to a restaurant to eat local dishes. They were very new to me, but I enjoyed them. When we finished our dinner and left the restaurant at about nine in the evening, I found 2one strange thing. It was not dark outside! I was very surprised. In Fukuoka, it is dark at nine in July, but it is not in London! This was the most interesting thing to me. I enjoyed this trip very much because I was able to discover new things. After the summer vacation, I told my classmates about my trip to London in an English class. Many of them liked my story and I was glad. After school, one of my classmates came to me and said, "I really enjoyed your story. I love Harry Potter, and I'm very interested in London. Can you tell me more about your trip ?" In fact, 3 was surprised when she came to talk to me. Before that, we didn't talk, and I though she was not interested in foreign countries. But that was not right. She knew a lo about London. We talked about my trip and Harry Potter. When we were talking she said to me, "Going abroad is a good way to study, but I have ( ) to Foreign country. I was glad to talk with you." I discovered new things about her o hat day. ) ( 4 You can get information about many things on TV and the Internet, and you ofte hink you know about people around you before talking to them. But you can discove ew things when you experience something directly. I want to remember this idea ar xperience a lot of things in the future. 主) foreign: 外国の Buckingham Palace: バッキンガム宮殿 Tower Bridge: タワーブリッジ directly : 直接に local dishes : その土地の料理 outside: 外で discover : 発見する Harry Potter: ハリー・ポッター

未解決 回答数: 1
情報 大学生・専門学校生・社会人

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

未解決 回答数: 1