-
Master
563 Answers
- Posted on Dec 11, 2010
Re: Write a program that accepts two numbers a and b and...
BASIC
a = 0
b = 0
c = 0
input "First number "; a
input "Second number "; b
c = int ( a / b )
d = ( a / b ) - c
print "Quotient: "; c
print "Remainder: "; d
end
×