Visual Basic.NET Programming. Beginner Lesson 8. Complex Arithmetic Expressions

preview_player
Показать описание
This is the eighth in a series of computer science video tutorials for beginners, about programming with Visual Basic.NET (VB.NET) in Visual Studio. In this lesson, you will learn how to write complex arithmetic expressions that perform calculations in your code. A complex arithmetic expression is an expression that involves more than one arithmetic operator. You also will learn how to control the order of operations using brackets, also known as parentheses. You will see that the order of operations in a complex expression is given by the acronyms BODMAS (Brackets Order Division Multiplication Addition Subtraction) and PEMDAS, Please Excuse My Dear Aunt Sally (Parentheses Exponentiation Multiplication Division Addition Subtraction).
Рекомендации по теме
Комментарии
Автор

By far best explanation I found for beginners

NA-skys
Автор

A bit of good old fashioned Bodmas. Love it.

SkepticleOrc
Автор

I got that, but it's sure nice to be reminded. And now, I've heard of BODMAS. Thank you for what you do and how you do it....JT

jtlunsford
Автор

"50 pounds worth of cakes. No surprises there." You have become the man from the math textbooks.

CameronSmith-ivlc
Автор

Yeah PEMDAS is the better example
Parenthesis, Exponents, Multiplication, Division, Addition, and Subtraction

SouthernRainbows
Автор

I think I've been to Pemdas on holiday, isn't it in Wales?

StephenBoyd
Автор

8:03
Why no.2 and no.3 are different if Division is perform first?

1. iResult = 10 / 5 * 2
2. iResult = 2 * 10 / 5
3. iResult = 10 * 5 / 2

deadboy
Автор

i really wouldnt mind being payed £15 for some cakes

michaeljones
Автор

What does everyone call these? I call (these) parenthesis and [these] brackets and I call {these} braces. ( ), [ ], { }. I am from USA. What do you say and where are you from? thanks.

kevinerose