Purchase Solution

Mix Integers and Single Expressions

Not what you're looking for?

Ask Custom Question

You can mix integers and non-integers in a single expression. For example: 123."A" = "123A" "4A"+123 = 127, "5.5" + 5 = 10 Non-integers are converted to integers as required by the operators. The non-integer converts to an integer starting with the left-most character and continuing until encountering a non-numeric character. In the second example above, "4A" converts to 4; in the third example, "5.5" converts to 5.
Question: What is the value of "1.2"+3.4?

A. 46.2
B. 154
C. 4.6
D. 44
E. 4.4
F. None of the above

Purchase this Solution

Solution Summary

This posting contains the answers to the given questions.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.