Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
14
Task/Arithmetic-Integer/VBScript/arithmetic-integer-2.vbs
Normal file
14
Task/Arithmetic-Integer/VBScript/arithmetic-integer-2.vbs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
option explicit
|
||||
dim a, b
|
||||
wscript.stdout.write "A? "
|
||||
a = wscript.stdin.readline
|
||||
wscript.stdout.write "B? "
|
||||
b = wscript.stdin.readline
|
||||
|
||||
a = int( a )
|
||||
b = int( b )
|
||||
|
||||
dim op
|
||||
for each op in split("+ - * / \ mod ^", " ")
|
||||
wscript.echo "a",op,"b=",eval( "a " & op & " b")
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue