changeset 2575:7a2fd7648970

gets
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Sun, 26 Jul 2015 11:25:30 +0900
parents cc668d3bfd95
children f2cb4ae229d2
files oasis2015/gets.rb oasis2015/prof.rb
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/gets.rb	Sun Jul 26 10:53:19 2015 +0900
+++ b/oasis2015/gets.rb	Sun Jul 26 11:25:30 2015 +0900
@@ -30,9 +30,9 @@
 g6 = have[0][6]
 
 gets = c["sho"]
-c1 = 10         #商品それぞれに対して消費するポイント
-c2 = 6
-c3 = 8
+c1 = 8         #商品それぞれに対して消費するポイント
+c2 = 4
+c3 = 6
 c4 = 2
 c5 = 5
 c6 = 100
--- a/oasis2015/prof.rb	Sun Jul 26 10:53:19 2015 +0900
+++ b/oasis2015/prof.rb	Sun Jul 26 11:25:30 2015 +0900
@@ -457,9 +457,9 @@
 </td><td>
 <form method="POST" action="gets.rb">
 <label><input type="checkbox" name="hdn">しょうひん!<div><br>
-<label><input type="radio" name="sho" value="s1">オランダせんべい:10pt</label><br>
-<label><input type="radio" name="sho" value="s2">温ビール:6pt</label><br>
-<label><input type="radio" name="sho" value="s3">ハンドソープ:8pt</label><br>
+<label><input type="radio" name="sho" value="s1">オランダせんべい:8pt</label><br>
+<label><input type="radio" name="sho" value="s2">温ビール:4pt</label><br>
+<label><input type="radio" name="sho" value="s3">ハンドソープ:6pt</label><br>
 <input type="reset" value="とりけし">
 <input type="submit" value="こうかんする!"></div></label><br>
 

yatex.org