Consider the following values set to variables. myAge = 32 yourAge = 18 myNumber = 81 yourNumber = 17 votingAge = 18 myName = “Katie” yourName = “Bob” Based on the values to the variables in Step 1, do the following conditions result in a true or false statement?  (Reference: Boolean Expressions, page 119).   The condition True or False myAge >= yourAge   yourAge > myAge   myAge == 45   yourAge == votingAge   votingAge <= yourAge   myAge <= votingAge   myName != yourName   myNumber <= myAge   yourNumber >= myAge   yourNumber != 17

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 20RA
icon
Related questions
Question

Step 1:  Consider the following values set to variables.

  • myAge = 32
  • yourAge = 18
  • myNumber = 81
  • yourNumber = 17
  • votingAge = 18
  • myName = “Katie”
  • yourName = “Bob”

Based on the values to the variables in Step 1, do the following conditions result in a true or false statement?  (Reference: Boolean Expressions, page 119).

 

The condition

True or False

myAge >= yourAge

 

yourAge > myAge

 

myAge == 45

 

yourAge == votingAge

 

votingAge <= yourAge

 

myAge <= votingAge

 

myName != yourName

 

myNumber <= myAge

 

yourNumber >= myAge

 

yourNumber != 17

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning