write a program to find number is positive or negative in VB
Answers
Answered by
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
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
Hindi,
8 months ago
Social Sciences,
8 months ago
Music,
8 months ago
Physics,
1 year ago
Social Sciences,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago
India Languages,
1 year ago