第13回 基礎プログラミング II レポート課題 氏名:笹木郁哉 学籍番号:c1090791 語学クラス:英語1 コース(系):地域 チーム名:SF2 チームホームページアドレス:http://roy/~c109091/sf2.html プロジェクト名:EXPWY、CARS、 1.高速道路料金検索の方のプログラムを担当した。進展具合は、冬休み が始まる前からほぼ完成に近く、しっかりと表示されているか確認し たり、体裁を整えたりと見る側に対して見やすいように表示を大きく したり、字と背景の組み合わせを変えた。 ここまではとても順調にきたのではないか。 2.全体としても非常に順調に来たと思う。 今回の集まりで本番の役割や、どのような発表をするかなどを昨日(1月12日) に話し合い決定した。 後は、発表者やパソコンの操作担当は個人的に練習したり、集まった際に 実際に本番を想定して時間をはかってみたりするなどだけなので、残り少 ない 3.EXPWY : http://roy/~c109091/douro/00readme CARS : http://roy/~c109063/cars/setumei.txt 4. [douro.html]
[douro.rb] #!/usr/koeki/bin/ruby require 'cgi' cgi = CGI.new("html4") print("Content-type: text/html; charset=EUC-jp\n\n") touhoku = cgi["touhoku"] yamagata = cgi["yamagata"] tyuuou = cgi["tyuuou"] nanbu = cgi["nanbu"] hokubu = cgi["hokubu"] banetsu = cgi["banetsu"] akita = cgi["akita"] kamaishi = cgi["kamaishi"] hatinohe = cgi["hatinohe"] tsugaru = cgi["tsugaru"] aomori = cgi["aomori"] print("\n") print("\n") print("
%s
\n",touhoku) printf("\n") printf("%s
\n",yamagata) printf("\n") printf("%s
\n",tyuuou) printf("\n") printf("%s
\n",nanbu) printf("\n") printf("%s
\n",hokubu) printf("\n") printf("%s
\n",banetsu) printf("\n") printf("%s
\n",akita) printf("\n") printf("%s
\n",kamaishi) printf("\n") printf("%s
\n",hatinohe) printf("\n") printf("%s
\n",tsugaru) printf("\n") printf("%s
\n",aomori) printf("\n") print("
\n")
elsif touhoku == "15矢吹IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間35分\n")
printf("距離 :273.9キロ\n")
printf("通常料金:4,200円\n")
print("
\n")
elsif touhoku == "16須賀川IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間27分\n")
printf("距離 :262.0キロ\n")
printf("通常料金:3,950円\n")
print("
\n")
elsif touhoku == "17郡山南IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間21分\n")
printf("距離 :252.5キロ\n")
printf("通常料金:3,750円\n")
print("
\n")
elsif touhoku == "18郡山IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間16分\n")
printf("距離 :243.8キロ\n")
printf("通常料金:3,600円\n")
print("
\n")
elsif touhoku == "19本宮IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間12分\n")
printf("距離 :237.1キロ\n")
printf("通常料金:3,450円\n")
print("
\n")
elsif touhoku == "20二本松IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間4分\n")
printf("距離 :224.2キロ\n")
printf("通常料金:3,200円\n")
print("
\n")
elsif touhoku == "21福島西IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間53分\n")
printf("距離 :205.3キロ\n")
printf("通常料金:2,850円\n")
print("
\n")
elsif touhoku == "22福島飯坂IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間47分\n")
printf("距離 :195.3キロ\n")
printf("通常料金:2,550円\n")
print("
\n")
elsif touhoku == "23国見IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間40分\n")
printf("距離 :184.2キロ\n")
printf("通常料金:2,300円\n")
print("
\n")
elsif touhoku == "24白石IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間25分\n")
printf("距離 :160.7キロ\n")
printf("通常料金:1,700円\n")
print("
\n")
elsif touhoku == "25村田IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間16分\n")
printf("距離 :148.4キロ\n")
printf("通常料金:1,350円\n")
print("
\n")
elsif touhoku == "27仙台南IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間23分\n")
printf("距離 :158.0キロ\n")
printf("通常料金:1,600円\n")
print("
\n")
elsif touhoku == "28仙台宮城IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間23分\n")
printf("距離 :158.0キロ\n")
printf("通常料金:1,600円\n")
print("
\n")
elsif touhoku == "29泉IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間38分\n")
printf("距離 :177.3キロ\n")
printf("通常料金:2,100円\n")
print("
\n")
elsif touhoku == "30大和IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間45分\n")
printf("距離 :188.3キロ\n")
printf("通常料金:2,400円\n")
print("
\n")
elsif touhoku == "31古川IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約2時間56分\n")
printf("距離 :206.3キロ\n")
printf("通常料金:2,850円\n")
print("
\n")
elsif touhoku == "32築館IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間6分\n")
printf("距離 :222.4キロ\n")
printf("通常料金:3,200円\n")
print("
\n")
elsif touhoku == "33若柳金成IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間13分\n")
printf("距離 :234.2キロ\n")
printf("通常料金:3,400円\n")
print("
\n")
elsif touhoku == "34一関IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間23分\n")
printf("距離 :251.5キロ\n")
printf("通常料金:3,750円\n")
print("
\n")
elsif touhoku == "35平泉前沢IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間32分\n")
printf("距離 :263.0キロ\n")
printf("通常料金:3,950円\n")
print("
\n")
elsif touhoku == "36水沢IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間43分\n")
printf("距離 :280.5キロ\n")
printf("通常料金:4,300円\n")
print("
\n")
elsif touhoku == "38北上江釣子IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約3時間52分\n")
printf("距離 :295.9キロ\n")
printf("通常料金:4,600円\n")
print("
\n")
elsif touhoku == "39花巻IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間2分\n")
printf("距離 :312.5キロ\n")
printf("通常料金:4,950円\n")
print("
\n")
elsif touhoku == "40紫波IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間10分\n")
printf("距離 :325.3キロ\n")
printf("通常料金:5,150円\n")
print("
\n")
elsif touhoku == "41盛岡南IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間16分\n")
printf("距離 :336.3キロ\n")
printf("通常料金:5,350円\n")
print("
\n")
elsif touhoku == "42盛岡IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間20分\n")
printf("距離 :343.3キロ\n")
printf("通常料金:5,500円\n")
print("
\n")
elsif touhoku == "43滝沢IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間26分\n")
printf("距離 :353.3キロ\n")
printf("通常料金:5,650円\n")
print("
\n")
elsif touhoku == "44西根IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間32分\n")
printf("距離 :363.4キロ\n")
printf("通常料金:5,850円\n")
print("
\n")
elsif touhoku == "45松尾八幡平IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間39分\n")
printf("距離 :372.9キロ\n")
printf("通常料金:6,000円\n")
print("
\n")
elsif touhoku == "47安代IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約4時間56分\n")
printf("距離 :395.8キロ\n")
printf("通常料金:6,450円\n")
print("
\n")
elsif touhoku == "48鹿角八幡平IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約5時間15分\n")
printf("距離 :421.9キロ\n")
printf("通常料金:6,900円\n")
print("
\n")
elsif touhoku == "49十和田IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約5時間24分\n")
printf("距離 :433.8キロ\n")
printf("通常料金:7,100円\n")
print("
\n")
elsif touhoku == "50碇ヶ関IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約5時間45分\n")
printf("距離 :461.9キロ\n")
printf("通常料金:7,650円\n")
print("
\n")
elsif touhoku == "51大鰐弘前IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約5時間55分\n")
printf("距離 :474.9キロ\n")
printf("通常料金:7,850円\n")
print("
\n")
elsif touhoku == "52黒石IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約6時間1分\n")
printf("距離 :484.8キロ\n")
printf("通常料金:8,050円\n")
print("
\n")
elsif touhoku == "53浪岡IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約6時間9分\n")
printf("距離 :498.8キロ\n")
printf("通常料金:8,300円\n")
print("
\n")
elsif touhoku == "54青森IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約6時間16分\n")
printf("距離 :510.7キロ\n")
printf("通常料金:8,500円\n")
print("
\n")
elsif yamagata == "1宮城川崎IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約2時間6分\n")
printf("距離 :135.3キロ\n")
printf("通常料金:1,000円\n")
print("
\n")
elsif yamagata == "2笹谷IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間57分\n")
printf("距離 :123.4キロ\n")
printf("通常料金:700円\n")
print("
\n")
elsif yamagata == "3関沢IC"
printf("経路 :山形自動車道〜東北中央自動車道〜米沢南陽道路〜東北自動車道〜山形自動車道\n")
printf("所要時間:約4時間34分\n")
printf("距離 :268.2キロ\n")
printf("通常料金:2,200円\n")
printf("山形自動車道上り方面からはおりれないので、料金や距離などに違いがでる。\n")
print("
\n")
elsif yamagata == "4山形蔵王IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間47分\n")
printf("距離 :110.1キロ\n")
printf("通常料金:300円\n")
print("
\n")
elsif yamagata == "5山形北IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間42分\n")
printf("距離 :103.8キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "7寒河江IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間33分\n")
printf("距離 :92.7キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "8西川IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間21分\n")
printf("距離 :78.7キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "9月山IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約1時間7分\n")
printf("距離 :62.2キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "10湯殿山IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約0時間35分\n")
printf("距離 :41.2キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "11庄内あさひIC"
printf("経路 :山形自動車道\n")
printf("所要時間:約0時間27分\n")
printf("距離 :31.3キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "12鶴岡IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約0時間15分\n")
printf("距離 :17.4キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "14庄内空港IC"
printf("経路 :山形自動車道\n")
printf("所要時間:約0時間6分\n")
printf("距離 :7.1キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif yamagata == "16酒田みなとIC"
printf("経路 :山形自動車道\n")
printf("所要時間:約0時間10分\n")
printf("距離 :11.9キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif tyuuou == "6山形上山IC"
printf("経路 :山形自動車道〜東北中央自動車道\n")
printf("所要時間:約1時間52分\n")
printf("距離 :114.7キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif tyuuou == "7山形中央IC"
printf("経路 :山形自動車道〜東北中央自動車道\n")
printf("所要時間:約1時間43分\n")
printf("距離 :104.3キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif tyuuou == "8天童IC"
printf("経路 :山形自動車道〜東北中央自動車道\n")
printf("所要時間:約1時間45分\n")
printf("距離 :105.8キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif tyuuou == "9東根IC"
printf("経路 :山形自動車道〜東北中央自動車道\n")
printf("所要時間:約1時間49分\n")
printf("距離 :110.8キロ\n")
printf("通常料金:0円\n")
print("
\n")
elsif nanbu == "1今泉IC"
printf("経路 :山形自動車道〜東北自動車道〜仙台南部道路\n")
printf("所要時間:約2時間33分\n")
printf("距離 :169.0キロ\n")
printf("通常料金:2,200円\n")
print("
\n")
elsif nanbu == "2長町IC"
printf("経路 :山形自動車道〜東北自動車道〜仙台南部道路\n")
printf("所要時間:約2時間31分\n")
printf("距離 :166.5キロ\n")
printf("通常料金:2,050円\n")
print("
\n")
elsif nanbu == "3山田IC"
printf("経路 :山形自動車道〜東北自動車道〜仙台北部道路〜三陸自動車道〜仙台東部道路〜仙台南部道路\n")
printf("所要時間:約3時間7分\n")
printf("距離 :215.1キロ\n")
printf("通常料金:3,600円\n")
print("
\n")
elsif hokubu == "1利府しらかし台IC"
printf("経路 :山形自動車道〜東北自動車道〜仙台北部道路\n")
printf("所要時間:約2時間46分\n")
printf("距離 :187.2キロ\n")
printf("通常料金:2,450円\n")
print("
\n")
elsif banetsu == "1いわき三和IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約4時間1分\n")
printf("距離 :302.6キロ\n")
printf("通常料金:4,750円\n")
print("
\n")
elsif banetsu == "2小野IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間42分\n")
printf("距離 :276.2キロ\n")
printf("通常料金:4,250円\n")
print("
\n")
elsif banetsu == "3船引三春IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間26分\n")
printf("距離 :255.7キロ\n")
printf("通常料金:3,850円\n")
print("
\n")
elsif banetsu == "3-1郡山東IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間20分\n")
printf("距離 :247.7キロ\n")
printf("通常料金:3,700円\n")
print("
\n")
elsif banetsu == "4磐梯熱海IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間20分\n")
printf("距離 :248.2キロ\n")
printf("通常料金:3,700円\n")
print("
\n")
elsif banetsu == "5猪苗代磐梯高原IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間34分\n")
printf("距離 :266.2キロ\n")
printf("通常料金:4,050円\n")
print("
\n")
elsif banetsu == "6磐梯河東IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間45分\n")
printf("距離 :280.1キロ\n")
printf("通常料金:4,300円\n")
print("
\n")
elsif banetsu == "7会津若松IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約3時間50分\n")
printf("距離 :286.1キロ\n")
printf("通常料金:4,400円\n")
print("
\n")
elsif banetsu == "8会津坂下IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約4時間3分\n")
printf("距離 :301.0キロ\n")
printf("通常料金:4,700円\n")
print("
\n")
elsif banetsu == "9西会津IC"
printf("経路 :山形自動車道〜東北自動車道〜磐越自動車道\n")
printf("所要時間:約4時間13分\n")
printf("距離 :312.4キロ\n")
printf("通常料金:4,950円\n")
print("
\n")
elsif akita == "1北上西IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約3時間57分\n")
printf("距離 :301.7キロ\n")
printf("通常料金:4,700円\n")
print("
\n")
elsif akita == "2湯田IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約4時間16分\n")
printf("距離 :323.3キロ\n")
printf("通常料金:5,150円\n")
print("
\n")
elsif akita == "3横手IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約4時間33分\n")
printf("距離 :343.6キロ\n")
printf("通常料金:5,500円\n")
print("
\n")
elsif akita == "4大曲IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約4時間51分\n")
printf("距離 :364.5キロ\n")
printf("通常料金:5,850円\n")
print("
\n")
elsif akita == "5協和IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間9分\n")
printf("距離 :388.4キロ\n")
printf("通常料金:6,300円\n")
print("
\n")
elsif akita == "6秋田南IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間17分\n")
printf("距離 :399.7キロ\n")
printf("通常料金:6,500円\n")
print("
\n")
elsif akita == "7秋田中央IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間23分\n")
printf("距離 :406.7キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "8秋田北IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間31分\n")
printf("距離 :415.9キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "9昭和男鹿半島IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間39分\n")
printf("距離 :425.4キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "10五城目八郎潟IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間49分\n")
printf("距離 :436.5キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "11琴丘森岳IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道\n")
printf("所要時間:約5時間57分\n")
printf("距離 :446.1キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "12八竜IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道〜琴丘能代道路\n")
printf("所要時間:約6時間8分\n")
printf("距離 :459.1キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif akita == "13能代南IC"
printf("経路 :山形自動車道〜東北自動車道〜秋田自動車道〜琴丘能代道路\n")
printf("所要時間:約6時間12分\n")
printf("距離 :463.2キロ\n")
printf("通常料金:6,650円\n")
print("
\n")
elsif kamaishi == "1花巻空港IC"
printf("経路 :山形自動車道〜東北自動車道〜釜石自動車道\n")
printf("所要時間:約4時間3分\n")
printf("距離 :313.5キロ\n")
printf("通常料金:4,900円\n")
print("
\n")
elsif kamaishi == "2東和IC"
printf("経路 :山形自動車道〜東北自動車道〜釜石自動車道\n")
printf("所要時間:約4時間10分\n")
printf("距離 :321.2キロ\n")
printf("通常料金:4,900円\n")
print("
\n")
elsif hatinohe == "1浄法寺IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間6分\n")
printf("距離 :409.4キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif hatinohe == "2一戸IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間15分\n")
printf("距離 :421.3キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif hatinohe == "3九戸IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間24分\n")
printf("距離 :432.7キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif hatinohe == "4軽米IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間31分\n")
printf("距離 :442.7キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif hatinohe == "5南郷IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間38分\n")
printf("距離 :452.3キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif hatinohe == "6八戸IC"
printf("経路 :山形自動車道〜東北自動車道〜八戸自動車道\n")
printf("所要時間:約5時間46分\n")
printf("距離 :462.6キロ\n")
printf("通常料金:6,400円\n")
print("
\n")
elsif tsugaru == "(1五所川原東IC)"
printf("経路 :山形自動車道〜東北自動車道〜津軽自動車道\n")
print("
\n")
elsif tsugaru == "(2五所川原IC)"
printf("経路 :山形自動車道〜東北自動車道〜津軽自動車道\n")
print("
\n")
elsif tsugaru == "(3五所川原北IC)"
printf("経路 :山形自動車道〜東北自動車道〜津軽自動車道\n")
print("
\n")
elsif aomori == "54青森IC"
printf("経路 :山形自動車道〜東北自動車道\n")
printf("所要時間:約6時間16分\n")
printf("距離 :510.7キロ\n")
printf("通常料金:8,500円\n")
print("
\n")
elsif aomori == "55青森中央IC"
printf("経路 :山形自動車道〜東北自動車道〜青森自動車道\n")
printf("所要時間:約6時間20分\n")
printf("距離 :514.7キロ\n")
printf("通常料金:8,500円\n")
print("
\n")
else aomori == "56青森東IC"
printf("経路 :山形自動車道〜東北自動車道〜青森自動車道\n")
printf("所要時間:約6時間27分\n")
printf("距離 :524.2キロ\n")
printf("通常料金:8,500円\n")
print("
\n")
end
print("