Ask Experts Questions for FREE Help !
Ask
    andyhaus1057's Avatar
    andyhaus1057 Posts: 98, Reputation: 1
    Junior Member
     
    #1

    Jul 16, 2009, 10:05 AM
    variables in programming
    Based on the values to the variables in Step 1, do these result in true or false statements?

    myAge <= yourAge True?

    yourAge > myAge False?

    myAge = = 45 False?

    yourAge = = votingAge True?
    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member
     
    #2

    Jul 16, 2009, 11:36 AM

    I don't know what the values are stored in MyAge or yourAge or votingAge (Step 1 is missing), so it's impossible to determine whether the comparisons will yield TRUE or FALSE.
    karilynngodd's Avatar
    karilynngodd Posts: 10, Reputation: 2
    New Member
     
    #3

    Oct 17, 2010, 01:29 PM
    Yes those are the correct answers. When you do these you need to say what the numbers are for each of them. I only got it because I looked at my lab book

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Programming mods and variables [ 1 Answers ]

Hi, I'm not sure about these. Can you please help? a) When a module is executing, what happens when the end of the module is reached? b) What statements are able to access a local variable?

Equations into variables [ 1 Answers ]

Solve the equation for y and then find the value of the y for the given x-value 5x+y=10 A.x=-2 b.x=3

Random variables [ 1 Answers ]

Question Details: Question Details: Z Alvie Singer lives at o in the accompanying diagram and has 4 friends who live at A, B,C, and D. One day Alvie decides to go visiting, so he tosses a fair coin twice to decide which of the four to visit. Once at a friend's house, he will either return...


View more questions Search