学年

教科

質問の種類

情報 大学生・専門学校生・社会人

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
TOEIC・英語 大学生・専門学校生・社会人

これの和訳して貰えませんか?

5 Reading Passage 10 15 20 Yuna Kim is one of the world's best figure skaters. At the 2010 Winter Olympics in Vancouver, she set three world records. In fact, one of those world records broke a record she set in 2009. program and a At the Olympics, both male and female skaters perform a short seven program. In the short program, skaters have less than three minutes to perform required jumps, spins, or other moves. While doing these seven things, the skaters also have to show judges how well they can put these elements together into a kind of dance performance on the ice. The long program is similar to the short program except that skaters perform for a longer time and have more required moves. long Before the 2010 Winter Olympics began, many people thought Yuna Kim was likely to win a gold medal. Certainly, there were other women skaters who had the skill to win gold at the Olympics. However, Ms. Kim had an advantage. She had already set a number of world records. In 2007, she set the record for the highest score in a short program with 71.95 points in Japan. The same year she also set the world record for the highest score in a long program with 133.7 points in Russia. Then, in 2009 she beat her own record in the short program by scoring 76.12 in the United States. At that competition, she also became the first woman to score over 200 points with her short and long programs - her combined score was 207.71. The next year at the Winter Olympics in Vancouver, she broke her records again. In the short program, Ms. Kim scored 78.5, a new world record. In the long program, she scored 150.06, another world record. This gave her a combined total of 228.56 points, a third world record! Needless to say, her score was enough to win gold.

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

171番について教えて頂けないでしょうか?🙇‍♂️🙇‍♂️🙇‍♂️ 文章が長くてすみません。 正解はBですが、Dも正解ではないのかな?と思いました。 消去法で考えて一番妥当なのはBだというのは分かりますが、 “ Please bring your resume” っ... 続きを読む

23:37 2月8日(土) た3 描画 Study Sapuri English 実 ピロ 滞題集 VoL1 白黒 Questions 169-171 refer to the following Web page. Sector: Real Estate>Property management>Entry level positlons ぁ History | Initiatives | Volunteerng| Donate Posted on 11 March Enereetic person required by central Birmingham property management firm. WTT Partners manages a large number of rental apartments and houses throughout Birminsgham on behalf of their owners. Duties will include: *・ Finding tenants for vacant DrOperties ・ Mediating between tenants and owners to solve any Droblems ・ Checking that properties are well maintained ・ Ensuring prompt payment of monthly rents The successful candidate must: ・ Beable to work on his or her own ・ Be fully computer literate ・ Be able to relate to people from different backsrounds ・ Possess a driver's license and preferably own a vehicle ・ Have a minimum of a high school diploma ・ Be willing to work irregular hours and days We will provide: *・ Full training and support Applicants should contact Amanda Cummings at 0191-S55-3399 within the week to arrange a face-to-face interview at our offices on Broad Strcct. 逢6Sbming7Ow@SMm@. We cxpect candidates to be professionally dressed to reflect their seriousness about the job. The Position will begin on 1 May. No exceptions can be made concerning the start date. ・ Astarting salary of 1.650 with annual raises based on performance | | 169. What is implied about the job? (A) It is a management-level position. (B) It involves travel. (C) Its duties include bookkeeping. (D) It is focused on building maintenance. 170. What are candidates NOT required to have? A) Managerial experience B) Skills to use a computer C) Educational qualifications D) Communication skills ( ( ( ( 171. What should applicants do? (A) Send a career summary before calling the company 人 Wear business attire at an interview (C) Get in touch with Ms. Cummings on May 1 (D) Bring a completed application form to the firm's office

解決済み 回答数: 1