fix some file extensions
This commit is contained in:
parent
68f8f3e56b
commit
f3a896c724
789 changed files with 91 additions and 62 deletions
14
Task/Arithmetic-Integer/VBScript/arithmetic-integer-2.vb
Normal file
14
Task/Arithmetic-Integer/VBScript/arithmetic-integer-2.vb
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