Question: What would be the output of this statement in BASIC: PRINT 25+25+"25"

Answer 1/2
QBasic version 1.1 says, "Type mismatch". It can't handle numbers and strings together.

QBasic CAN handle the statements:

print 25;25;"25"
print 25+25;"25"

The output for the two statements above is:

25 25 25
50 25

BASICA version 3.0 produced the exact same results as QBasic.
by fantom
Answer 2/2
Click any of the links below to automatically search the given site for: What would be the output of this statement in BASIC: PRINT 25+25+"25"
Your answer
Your answer to the question, "What would be the output of this statement in BASIC: PRINT 25+25+"25""
Anti-spam verification:

Enter the 6 digits (no letters) shown in the image above.
Related questions
Posts are owned by the poster. Trademarks are property of their respective owners.
Copyright 2011-2018 Asketc.com. All Rights Reserved.