Different types for operators > equal →greater or equal > less or equal → not equal → greater → less && → AND IL → OR == >= <= > Exercise2: Assume that you want to buy a product, in order to make a purchase, you should check whether the account balance is enough or not. Var account_balance= 10000 Var product_price = 2500 if (?) { -???

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

kotlin programming

 
Different types for operators
> equal
→greater or equal
> less or equal
> not equal
> greater
→ less
&& > AND
|| → OR
==
>=
<=
>
Exercise2: Assume that you want to buy a product, in order to make a purchase, you should check
whether the account balance is enough or not.
Var account_balance= 10000
Var product_price = 2500
if (?)
{
-???
}
Transcribed Image Text:Different types for operators > equal →greater or equal > less or equal > not equal > greater → less && > AND || → OR == >= <= > Exercise2: Assume that you want to buy a product, in order to make a purchase, you should check whether the account balance is enough or not. Var account_balance= 10000 Var product_price = 2500 if (?) { -??? }
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT