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

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 2MQ2
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning