Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
input "Enter an integer for a. ";a
|
||||
input "Enter an integer for b. ";b
|
||||
|
||||
'a=int(a):b=int(b) ???
|
||||
print "Conditional evaluation."
|
||||
if a<b then print "a<b " ; a ; " < " ; b
|
||||
if a=b then print "a=b " ; a ; " = " ; b
|
||||
if a>b then print "a>b " ; a ; " > " ; b
|
||||
|
||||
print "Select case evaluation."
|
||||
select case
|
||||
case (a<b)
|
||||
print "a<b " ; a ; " < " ; b
|
||||
case (a=b)
|
||||
print "a=b " ; a ; " = " ; b
|
||||
case (a>b)
|
||||
print "a>b " ; a ; " > " ; b
|
||||
end select
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
input "Enter an integer for a. ";a
|
||||
input "Enter an integer for b. ";b
|
||||
|
||||
for i = 1 to 3
|
||||
op$=word$("< = >", i)
|
||||
if eval("a"+op$+"b") then print "a"+op$+"b " ; a;" ";op$;" ";b
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue