Computer Science, asked by Anmolsingh1, 1 year ago

write a program to find number is positive or negative in VB

Answers

Answered by Abhinand1
1
if A>0 then
print "+ve"
else if A<0 then
print "-ve"
else
print "zero or invalid data"
end if

note: assign the value of A from a text box
if you want assign the answer in a variable and can print in a text box
Similar questions