Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: ovrpaid on May 4, 2018



Title: What is the output of code corresponding to the following program segment if Age = 18?If Age >= ...
Post by: ovrpaid on May 4, 2018
What is the output of code corresponding to the following program segment if Age = 18?
If Age >= 18 Then
   Write “You are eligible to vote.”
Else
   Set Vote = Age - 18
   Write “You can vote in “ + Vote + “years.”
End If
a.   You are eligible to vote.
b.   You can vote in 18 years.
c.   You are eligible to vote.
You can vote in 18 years.
d.   You can vote in 0 years.


Title: Re: What is the output of code corresponding to the following program segment if Age = 18?If Age ...
Post by: penia_smiles on May 4, 2018
Content hidden