1 Ex Ex. 2 2

Size: px
Start display at page:

Download "1 Ex Ex. 2 2"

Transcription

1 I PDF Windows TA ruby TA PDF 3. PDF

2 1 Ex Ex. 2 2

3 2 Ex. 3 seisu = Array.new(3, 0) seisu[0] = gets.chomp.to_i seisu[1] = gets.chomp.to_i seisu[2] = gets.chomp.to_i wa = seisu[0] + seisu[1] + seisu[2] print("3 ", wa, " \n") heikin = wa / 3 print("3 ", heikin, " \n") 3, 5, 8 Ex. 4 ja = {"cat" => " ", "book" => " "} ja.each { key, value } print(key, " ==> ", value, "\n") Ex. 5 3

4 3 Ex

5 print(" \n") age = if print("\n") elsif print("\n") elsif print("\n") else print("\n") 4 while Ex. 7 kazu[0], kazu[1] kazu = [1, 3, 10, 2, 9, 7, 8, 4, 6, 5] while i < 5 print(kazu[i], "\n") i = i + 1 Ex. 8 kazu = [1, 3, 10, 2, 9, 7, 8, 4, 6, 5] while i < 5 print(kazu[i], "\n") i = i + 1 5

6 Ex. 9 2 A B # A week = [" ", " ", " ", " ", " ", " ", " "] while i < 3 print(week[i], "\n") i = i + 1 # B week = [" ", " ", " ", " ", " ", " ", " "] while i < 3 i = i + 1 print(week[i], "\n") A B Ex kazu = # 4 0 while # 4 print(" \n") kazu[i] = gets.chomp.to_i # # while 6

7 Ex. 11 while tango_shuu = ["library", "book",, ] 4 tango_shuu print(" \n") tango = gets.chomp tango tango tango_shuu Ex. 12 while 7

8 Ex. 13 A i sum sum = 0 while i <= 10 sum = sum + i print(" i = ", i, " sum = ", sum, "\n") i = i + 1 i sum sum 8

9 Ex ruby Ex. 15 i j n n = 0 while i < 3 j = 0 while j < 4 print("i = ", i, " j = ", j, " n = ", n, "\n") n = n + 1 j = j + 1 i = i + 1 print i, j, n i 0 0 j 0 1 n 0 1 9

10 Ex Ex * * 19 10

11 Ex. 18 print Ex. 19 moji = "" while moji!= "u" print(" 1 \n") moji = gets.chomp Ex. 20 print("\n") print("\n") while i < 10 print(" 1 \n") moji = gets.chomp if moji == "u" print("\n") break else print("\n") i = i + 1 print("\n") 11

12 Ex. 21 (STEP-1) # yaoya 3 yaoya = {"NINJIN" => 150, } # yasai print("\n") yasai = # yaoya # ****** # *** if yaoya.include?(yasai) print(yasai, "", yaoya[yasai], " \n") else print(" ", yasai, "\n") Ex. 22 include? 12

13 Ex. 23 (STEP-2) STEP () # yaoya 3 yaoya = {"NINJIN" => 150, } # <== 100 while i < # <== # yasai print("\n") print(".(\n") yasai = #. ( while if yasai == # <== else if yaoya.include?(yasai) print(yasai, "", yaoya[yasai], " \n") else print(" ", yasai, "\n") # <==

14 Ex. 24 (STEP-3) STEP-2 ( yaoya) *** *** *** *** # yaoya 3 yaoya = {"NINJIN" => 150, } while i < # yasai print("\n") print(".(\n") yasai = #. ( if yasai == else if yaoya.include?(yasai) print(yasai, "\n") print(" ", yasai, " ") # yasune yasune = # yasune if yasune < # # yasune print(" ", yasune, "!\n") else # print(" ", yaoya[yasai], " \n") else print(" ", yasai, "\n") #

15 Ex. 25 tango_shuu tango_shuu 3 # tango_shuu tango_shuu = [ ] while i < print(" \n") tango = gets.chomp j = 0 while if == tango_shuu[j] print(" ",, " \n") break 15

I 1 1 ( *) ( *) ex1-1.rb ) 2 CGI

I 1 1 ( *) ( *) ex1-1.rb ) 2 CGI I 1 1 ( *) ( *) ex1-1.rb ) 2 CGI 1-1 http://klis.tsukuba.ac.jp/klib/subjects/progi/example2018/ 1-1 1-2 http://klis.tsukuba.ac.jp/klib/subjects/progi/example2018/ 1-2 I \( ) ( ) 1 3 Ruby 1 1? 1-3 ( ) I

More information

Ruby 50 Ruby UTF print, \n [Ruby-1] print("hello, Ruby.\n") [Ruby-2] Hello, Ruby. [Ruby-3] print("hello, \"Ruby\".\n") 2 [Ruby-4] seisuu = 10 pr

Ruby 50 Ruby UTF print, \n [Ruby-1] print(hello, Ruby.\n) [Ruby-2] Hello, Ruby. [Ruby-3] print(hello, \Ruby\.\n) 2 [Ruby-4] seisuu = 10 pr Ruby 50 Ruby UTF-8 1 1 print, \n [Ruby-1] print("hello, Ruby.\n") [Ruby-2] Hello, Ruby. [Ruby-3] print("hello, \"Ruby\".\n") 2 [Ruby-4] seisuu = 10 print(seisuu, "\n") jissuu = 3.141592 print(jissuu, "\n")

More information

5-2 print(i, "\n") print("-- while--\n") while i < 2 j = print(i, ",", j, "\n") print("-- while--\n") while j < 3 print(i, ",", j, "\n") j = j + 1 pri

5-2 print(i, \n) print(-- while--\n) while i < 2 j = print(i, ,, j, \n) print(-- while--\n) while j < 3 print(i, ,, j, \n) j = j + 1 pri I 5 1 5 2 2.1 5-1 print(i, "\n") print("-- while--\n") while i < 3 print(i, "\n") print("-- while--\n") print(i, "\n") 1 5-2 print(i, "\n") print("-- while--\n") while i < 2 j = print(i, ",", j, "\n")

More information

Windows [ ] [ (R)..] cmd [OK] Z:\> mkdir progi [Enter] \ ) mkdir progi ) (command ) help [Enter] help ( help ) mkdir make directory Windows ) mkdir mk

Windows [ ] [ (R)..] cmd [OK] Z:\> mkdir progi [Enter] \ ) mkdir progi ) (command ) help [Enter] help ( help ) mkdir make directory Windows ) mkdir mk Ruby I I 1 Windows 1 Meadow 1: Meadow I Meadow 2 2 Ruby 2.1 I Z progi 1 Windows [ ] [ (R)..] cmd [OK] Z:\> mkdir progi [Enter] \ ) mkdir progi ) (command ) help [Enter] help ( help ) mkdir make directory

More information

syuryoku

syuryoku 248 24622 24 P.5 EX P.212 2 P271 5. P.534 P.690 P.690 P.690 P.690 P.691 P.691 P.691 P.702 P.702 P.702 P.702 1S 30% 3 1S 3% 1S 30% 3 1S 3% P.702 P.702 P.702 P.702 45 60 P.702 P.702 P.704 H17.12.22 H22.4.1

More information

土壌環境行政の最新動向(環境省 水・大気環境局土壌環境課)

土壌環境行政の最新動向(環境省 水・大気環境局土壌環境課) 201022 1 18801970 19101970 19201960 1970-2 1975 1980 1986 1991 1994 3 1999 20022009 4 5 () () () () ( ( ) () 6 7 Ex Ex Ex 8 25 9 10 11 16619 123 12 13 14 5 18() 15 187 1811 16 17 3,000 2241 18 19 ( 50

More information

STEP1 STEP3 STEP2 STEP4 STEP6 STEP5 STEP7 10,000,000 2,060 38 0 0 0 1978 4 1 2015 9 30 15,000,000 2,060 38 0 0 0 197941 2016930 10,000,000 2,060 38 0 0 0 197941 2016930 3 000 000 0 0 0 600 15

More information

1

1 1 2 3 4 5 6 7 8 9 0 1 2 6 3 1 2 3 4 5 6 7 8 9 0 5 4 STEP 02 STEP 01 STEP 03 STEP 04 1F 1F 2F 2F 2F 1F 1 2 3 4 5 http://smarthouse-center.org/sdk/ http://smarthouse-center.org/inquiries/ http://sh-center.org/

More information

P072-076.indd

P072-076.indd 3 STEP0 STEP1 STEP2 STEP3 STEP4 072 3STEP4 STEP3 STEP2 STEP1 STEP0 073 3 STEP0 STEP1 STEP2 STEP3 STEP4 074 3STEP4 STEP3 STEP2 STEP1 STEP0 075 3 STEP0 STEP1 STEP2 STEP3 STEP4 076 3STEP4 STEP3 STEP2 STEP1

More information

2 1 2 3 27 2 6 2 5 19 50 1 2

2 1 2 3 27 2 6 2 5 19 50 1 2 1 2 1 2 3 27 2 6 2 5 19 50 1 2 2 17 1 5 6 5 6 3 5 5 20 5 5 5 4 1 5 18 18 6 6 7 8 TA 1 2 9 36 36 19 36 1 2 3 4 9 5 10 10 11 2 27 12 17 13 6 30 16 15 14 15 16 17 18 19 28 34 20 50 50 5 6 3 21 40 1 22 23

More information

1

1 1 1. 2 1-1. 2 3 1-2.2 4 2. 5 6 7 2-1 2-2 2-3 2-4 2-5 2-1 2-2 2-3 2-4 2-5 PDF PDF 8 P10 9 2-1. 10 2-1. 11 2-1. ( ( 12 2-1. 24 13 2-1. 3 3 14 2-1. 15 2-2. 16 17 2-2. 3 18 2-2. 19 2712 3 1000 20 2841 21 ...

More information

15 7 26 1,276 3,800 1 16 15 1 2 3 4 2

15 7 26 1,276 3,800 1 16 15 1 2 3 4 2 1 15 7 26 1,276 3,800 1 16 15 1 2 3 4 2 JA 3 4 2 1 3 2001 1981 6 10% 10 30% 1 2 JA JA 2 4 JA 2 1 2 1 2 1 2 1 2 1 2 7 5 1 1 1 3 1 6 1 1 2 2 1 7 2 3 3 53 1 2000 30 8 250 53 435 20 35 3 1 8 2 4 3 2 2 232

More information

324.pdf

324.pdf 50 50 10 30 11 26 12 27 14 16 27 18 20 21 22 22 22 22 23 24 24 1 No.324 JA 2 85 69 20 12 81 18 12 22 93 10 31 3 50 50 30 30 50 22 27 27 10 16 14 52 10 62 15 64 25 24 50 4 25 23 27 5 10 11 25 6 11 49 10

More information

『こみの株式会社』の実践

『こみの株式会社』の実践 2003 . JA JA A JA 811 2005/8/11 1003 452 10 960 28 2005/8/11 1003 452 6 120 29 2005/8/11 2003 151 10 420 33 2005/8/11 2003 211 3 180 31 2005/8/11 2003 211 3 150 32 827 400 5 80 221 2005/6/25 900 3 300

More information

EX-word_Library_JA

EX-word_Library_JA JA 2 3 4 5 14 7 1 2 6 3 1 2 7 3 8 27 1 2 3 1 2 3 9 1 2 3 1 2 3 10 12 13 14 11 1 12 1 2 13 1 2 3 25 14 1 2 3 25 15 1 2 3 25 16 1 2 3 25 17 1 2 3 25 18 1 2 3 4 25 19 1 2 3 4 25 20 1 2 21 3 4 25 22 1 2 3

More information

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I  Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse I Exercise on Programming I http://bit.ly/oitprog1 12 of 14 ( RD S ) I 12 of 14 1 / 35 https://bit.ly/oitprog1 ( RD S ) I 12 of 14 2 / 35 game.rb ( RD S ) I 12 of 14 3 / 35 game.rb 11 ( ) 1 require "io/console"

More information

listings-ext

listings-ext (6) Python (2) ( ) ohsaki@kwansei.ac.jp 5 Python (2) 1 5.1 (statement)........................... 1 5.2 (scope)......................... 11 5.3 (subroutine).................... 14 5 Python (2) Python 5.1

More information

離散数理工学 第 2回 数え上げの基礎:漸化式の立て方

離散数理工学 第 2回  数え上げの基礎:漸化式の立て方 2 okamotoy@uec.ac.jp 2015 10 20 2015 10 18 15:29 ( ) (2) 2015 10 20 1 / 45 ( ) 1 (10/6) ( ) (10/13) 2 (10/20) 3 ( ) (10/27) (11/3) 4 ( ) (11/10) 5 (11/17) 6 (11/24) 7 (12/1) 8 (12/8) ( ) (2) 2015 10 20

More information

2

2 1 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234 12123456789012345678901234

More information

クリティカルテーマ前編

クリティカルテーマ前編 クロキン 2 1. 2. 2 6 STEP1: STEP1 1: ( )? 2:? 3:? 4:? 5:? 6: 7:? 8:? 9: 10: 11: 12: 13:? 14: 1? 15: 16: 17: 18:? 19:? 20: 21: 22: 23: STEP2 STEP2: ( ) 1. 2. 3.? OK STEP3 STEP3: STEP3-1 yahoo!japan http://www.yahoo.co.jp/

More information

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I  Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse I Exercise on Programming I http://bit.ly/oitprog1 13 of 14 ( RD S ) I 13 of 14 1 / 39 https://bit.ly/oitprog1 ( RD S ) I 13 of 14 2 / 39 game.rb ( RD S ) I 13 of 14 3 / 39 game.rb 12 ( ) 1 require "io/console"

More information

Sokushu2_perl

Sokushu2_perl hello.pl Perl print("hello, Bioinformatics!\n"); $ perl hello.pl 1 2 hello.pl print("hello, Bioinformatics!\n"); $ perl hello.pl 3 4 hello.pl 3 hello.pl Perl Perl Perl Perl print("hello, Bioinformatics!\n

More information

N88 BASIC 0.3 C: My Documents 0.6: 0.3: (R) (G) : enterreturn : (F) BA- SIC.bas 0.8: (V) 0.9: 0.5:

N88 BASIC 0.3 C: My Documents 0.6: 0.3: (R) (G) : enterreturn : (F) BA- SIC.bas 0.8: (V) 0.9: 0.5: BASIC 20 4 10 0 N88 Basic 1 0.0 N88 Basic..................................... 1 0.1............................................... 3 1 4 2 5 3 6 4 7 5 10 6 13 7 14 0 N88 Basic 0.0 N88 Basic 0.1: N88Basic

More information

untitled

untitled CONTENTS P.3 P.5 P.7 P.13 P.21 P.31 P.33 P.3 P.3 P.3 1 2 3 4 4 1 5 6 2 7 8 2 2 9 10 2 2 1000 800 600 400 200 0 3 4 5 11 12 13 14 15 16 17 18 25 1 8 15 22 29 1 18 25 1 6 17 6 8 11 12 3 13 14 15 16 3 311

More information

離散数理工学 第 2回 数え上げの基礎:漸化式の立て方

離散数理工学 第 2回  数え上げの基礎:漸化式の立て方 2 okamotoy@uec.ac.jp 2014 10 21 2014 10 29 10:48 ( ) (2) 2014 10 21 1 / 44 ( ) 1 (10/7) ( ) (10/14) 2 (10/21) 3 ( ) (10/28) 4 ( ) (11/4) 5 (11/11) 6 (11/18) 7 (11/25) ( ) (2) 2014 10 21 2 / 44 ( ) 8 (12/2)

More information

,000m 7 CAT

,000m 7 CAT 7,404 15 63% 1,000 120 2 17 60 150 4 67 120 7 5 6,049 20 2,265 20 87.4 17 2 3 =3.5%23.2%73.3% 40 20 151110 1 2010 2011 3,000m 7 CAT 11 12 18 316 3 18 3 19 95 9 65 3 75 2 80 2 60 3 100 2 2011 3 33 3 3 140km

More information

parser.y 3. node.rb 4. CD-ROM

parser.y 3. node.rb 4. CD-ROM 1. 1 51 2. parser.y 3. node.rb 4. CD-ROM 1 10 2 i 0 i 10 " i i+1 3 for(i = 0; i

More information

DocuPrint C2424 取扱説明書(詳細編)

DocuPrint C2424 取扱説明書(詳細編) 3 4 1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1.1 1 1 2 3 4 5 30 1.2 1 31 1.3 1 32 33 1 1.4 1 1.4.1 34 1.4.2 1 2 35 1 1.5 1 1 2 3 4 36 5 6 7 8 9 37 1 1 10 11 12 13 38 14 15

More information

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I  Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse I Exercise on Programming I http://bit.ly/oitprog1 1, 2 of 14 ( RD S ) I 1, 2 of 14 1 / 44 Ruby Ruby ( RD S ) I 1, 2 of 14 2 / 44 7 5 9 2 9 3 3 2 6 5 1 3 2 5 6 4 7 8 4 5 2 7 9 6 4 7 1 3 ( RD S ) I 1, 2

More information

8 if switch for while do while 2

8 if switch for while do while 2 (Basic Theory of Information Processing) ( ) if for while break continue 1 8 if switch for while do while 2 8.1 if (p.52) 8.1.1 if 1 if ( ) 2; 3 1 true 2 3 false 2 3 3 8.1.2 if-else (p.54) if ( ) 1; else

More information

特許侵害訴訟における無効の主張を認めた判決─半導体装置事件−

特許侵害訴訟における無効の主張を認めた判決─半導体装置事件− [*1847] 12 4 11 10 364 54 4 1368 1710 68 1032 120 X Y 6.8.31 29 3 875 X Y 9.9.10 29 3 819 Y 320275 391468 46 12 21 35 2 6 3513745 39 1 30 320249 1) 1 39 1 [*1848] 2) 3) Y 10 51 2 4 39 5 39 1 3 139 7 2

More information

Ruby Ruby ruby Ruby G: Ruby>ruby Ks sample1.rb G: Ruby> irb (interactive Ruby) G: Ruby>irb -Ks irb(main):001:0> print( ) 44=>

Ruby Ruby ruby Ruby G: Ruby>ruby Ks sample1.rb G: Ruby> irb (interactive Ruby) G: Ruby>irb -Ks irb(main):001:0> print( ) 44=> Ruby Ruby 200779 ruby Ruby G: Ruby>ruby Ks sample1.rb G: Ruby> irb (interactive Ruby) G: Ruby>irb -Ks irb(main):001:0> print( 2+3+4+5+6+7+8+9 ) 44 irb(main):002:0> irb irb(main):001:0> 1+2+3+4 => 10 irb(main):002:0>

More information

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

BA-100_Ver3.05

BA-100_Ver3.05 JA Windows 1 2 3 4 5 6 7 8 10 1 1 2 11 1 2 3 12 1 1 1 13 1 2 3 1 2 3 14 4 1 5 6 7 2 3 15 16 17 18 19 20 21 22 1 2 3 23 24 25 26 1 2 3 1 2 27 1 2 3 1 28 2 3 4 1 2 1 2 3 4 29 5 6 1 2 3 1 2 3 4 1 2 3 30

More information

産業21-81号.72.indd

産業21-81号.72.indd 2015.7 81 http://www.rofuku.go.jp/tabid/128/default.aspx C O N T E N T S 21 2 6 8 10 12 16 18 20 22 24 26 27 28 29 211 221 1 213 421 215 2 621 217 821 3 219 1021 4 2111 1221 2113 1421 2115 1621 5 2117

More information

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 September 2016 1 Windows Cygwin Mac *1 Emacs Ruby 1 1.1 ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 ~/16:00:20> ls 2 2 ls ls -a ~/16:00:20> ls -a

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

untitled

untitled 700 1 2 2 3 4 5 PDF 6 7 8 9 300 400m 1:2.5 1:1.8 75 3.2 10 11 12 1) 1998 Vol1 2) 1987-1992 3) 2001-2002 1-24 4) 1996 17 6-7 5) 2000 31 587-590 6) 2002 22 13 7) 2005 2005 20 46 1 2 3 4 5 6 7 8 9 10 11

More information

<4D F736F F D20438CBE8CEA8D758DC F0939A82C282AB2E646F63>

<4D F736F F D20438CBE8CEA8D758DC F0939A82C282AB2E646F63> C 言語講座第 2 回 作成 : ハルト 前回の復習基本的に main () の中カッコの中にプログラムを書く また 変数 ( int, float ) はC 言語では main() の中カッコの先頭で宣言する 1 画面へ出力 printf() 2 キーボードから入力 scanf() printf / scanf で整数を表示 / 入力 %d 小数を表示 / 入力 %f 3 整数を扱う int 型を使う

More information

Microsoft PowerPoint - w5.pptx

Microsoft PowerPoint - w5.pptx CS 第 1 レポート課題 3 コンピュータ サイエンス第 1 クラスCS4a 担当 : 真野 2017.10.25 課題 暗号解読に挑戦 本日の講義内容 教科書 5.3 1. 暗号通信とは 2. 関数, サブルーチン暗号 3. レポート課題 3( 予告 ) - 課題の説明 - 解読法のヒント 4. 現代の暗号通信方法 宿題 教科書 5.3 1. 暗号通信 暗号通信の基本的な流れ 送信者 通信文を見られても,

More information

表紙オモテ

表紙オモテ 1 2 http://www.mlit.go.jp/kankocho/shisaku/sangyou/taiou_manual.html 3 4 . 5 . 6 . 7 8 . 9 . 10 . 11 . 12 . 13 . 14 . 15 . 16 . 17 18 . EX). 19 . 20 . 21 . 22 . 23 . 24 25. 26. . 27 28 . pork 29 . 30 .

More information

.N...[..7...doc

.N...[..7...doc 1 2 3 STEP1 4 STEP2 STEP3 5 6 7 8 9 1 Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution of Solution

More information

タフ・医療の保険 医療補償特約付健康総合保険

タフ・医療の保険 医療補償特約付健康総合保険 STEP 7 30702036GA3D00030-336 020-00 3 2 STEP STEP 2 STEP 3 P3 STEP 4 STEP 5 STEP 6 P5 P7 P9 P2 P3 STEP 7 2 STEP 3 P7 STEP P5 STEP 2 STEP 4 P9 STEP 5 P2 STEP 6 P3 2 3 4 STEP 7 3 4 3 4 STEP P3 STEP 2 STEP

More information

Ruby演習テキスト1

Ruby演習テキスト1 Ruby言語 基礎演習 社会人技術者研修 2014年度 テキスト 社会人技術者研修 2014年度テキスト 2014.11 Ruby基礎演習 1 2014.11 2015.2.1 puts "Hello Ruby >ruby hello.rb ( リターン ) > ruby hello.rb Hello Ruby # はじめての ruby プログラム puts "Hello Ruby" > ruby

More information

untitled

untitled StoreManager 1. StoreManager POS...3 2. CSV...4 3. CSV Step1...4 4. CSV Step2...5 5. POS Step1...5 6. POS Step1...6 1....8 2....8 3....9 4....9 1. ABC... 10 2.... 10 3.... 11 4.... 11 5. ABC... 12 6....

More information

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó 2 2015 4 20 1 (4/13) : ruby 2 / 49 2 ( ) : gnuplot 3 / 49 1 1 2014 6 IIJ / 4 / 49 1 ( ) / 5 / 49 ( ) 6 / 49 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 7 / 49

More information

r2.dvi

r2.dvi 15 2 1 2015.6.2 ( ( ( Ruby ( ( https://www.ruby-lang.org/ja/documentation/ 2 Chris Pine,, 2,, 2010. Yugui, Ruby,, 2008. Ruby 1 ( Ruby ( 2 ( i i j ( ) /( (regular expression Ruby /.../ ( 1 if / / =~ =~

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

Microsoft PowerPoint - 20140203 Perl講習会.ppt [互換モード]

Microsoft PowerPoint - 20140203 Perl講習会.ppt [互換モード] 中 村 聡 史 1 12345の 約 数 の 数 を 数 えるプログラム int i = 1; int count = 0; while( i

More information

4 13 STEP- 3 12

4 13 STEP- 3 12 4 q STEP- 1? q P11 w P15 e P16 r P18 t P19 y P20 u P22 i P23 o P24!0 P26!1 P27!2 P28 STEP- 2 10 11 4 13 STEP- 3 12 4 w STEP- 1 STEP- 2 STEP- 3 14 15 4 e STEP- 1 STEP- 3 STEP-2 STEP- 2 16 17 4 r t STEP-

More information

untitled

untitled 5 1.() 2.() 3.(JA ) 2 3 4 5 6 7 8 9 10 11 12 13 1,000m 165.52km2 1,200-1- H15.8.1 1,163 2,121 278 H19.2.1 60 12 8 15 13 4 10 14 4 13 15 16 22 16 12 21 44 81-2- - 0 - - 1 - - 2 - - 3 - - 4 -

More information

untitled

untitled 1993 2 2.1 2 1 200235 1992 6 7 3 3 84 JA 1990 47.3% 46.5% 1990 31.7% 56.9% 37 6 4 1976 2.2 2.2 1976 1974 1976 1981 1 3.5 1985 60 2005 2006 2006 27 103 522 284 3.5 3.6 2003 109 59.6% 54.1% 31.2% 1970

More information

M-E20B_OWNER'S MANUAL.pdf

M-E20B_OWNER'S MANUAL.pdf L 4 5 6 7 8 9 0 4 5 6 7 4 5 6 7 8 4 9 0 ... 4 5 6 7 8 4 9 0 4 5, 6 7 4 4 4 4 4 5 6 7 8 9 4 40 4 4 5 6 4 5 4 4 44 4 45 46 90 80 70 60 50 40 0 0 0 0-5 -0 47 COOKING BOOK 49 49 50 5 5 5 5 5 55

More information

Excel97関数編

Excel97関数編 Excel97 SUM Microsoft Excel 97... 1... 1... 1... 2... 3... 3... 4... 5... 6... 6... 7 SUM... 8... 11 Microsoft Excel 97 AVERAGE MIN MAX SUM IF 2 RANK TODAY ROUND COUNT INT VLOOKUP 1/15 Excel A B C A B

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

untitled

untitled JavaScript HP JavaScript JavaScript Web JavaScript Web JavaScript JavaScript JavaScript HTML HTML HTML JavaScript 1. JavaScript ON/OFF 2. JavaScript 3. 4. 5. 6. 7. 8. 9. 10. if 11. if 12. switch 13. 14.

More information

Microsoft PowerPoint - ruby_instruction.ppt

Microsoft PowerPoint - ruby_instruction.ppt Ruby 入門 流れ Ruby の文法 画面に出力 キーボードから入力 数値 文字列 変数 配列 ハッシュ 制御構造 ( 分岐 繰り返しなど ) if while case for each 関数 クラス Ruby とは プログラミング言語 インタプリタ言語 オブジェクト指向 国産 ウェブアプリケーションフレームワーク RubyOnRails で注目 弊社での Web アプリケーション開発に利用 画面に出力

More information

untitled

untitled 30 callcc yhara ( ( ) (1) callcc (2) callcc (3) callcc callcc Continuation callcc (1) (2) (3) (1) (2) (3) (4) class Foo def f p 1 callcc{ cc return cc} p 2 class Bar def initialize @cc = Foo.new.f def

More information

STC-PC10_Ver1.01

STC-PC10_Ver1.01 JA Windows 1 3 4 5 6 1 8 1 8 1 2 1 3 5 6 2 4 7 1 9 2 3 4 5 Χ 7 8 1 6 2 3 4 5 10 1 2 3 4 5 6 11 12 2 1 2 1 13 3 4 1 2 14 2 1 2 1 15 3 4 16 1 2 17 3 1 18 2 19 2 1 20 3 4 21 5 1 6 2 7 3 8 4 22 2 1 23 3

More information

P.1 P.2 P.3 P.6 P.13 P.14 P.17 P P.21

P.1 P.2 P.3 P.6 P.13 P.14 P.17 P P.21 2020 P.1 P.2 P.3 P.6 P.13 P.14 P.17 P.19 2020 P.21 32 7 1 24 () 1 ( 23 78 ) 31 ( ) ( 23 98) () 2 2 ( 24 24) () 3 15 2 3 2 4 5 6 ( 10 13 12 19 24 24) () 4 2 ( 24 24) () 5 2 3 ( 24 24) () 6 ( 24 24) ()

More information