1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anvisha [2.4K]
3 years ago
5

Write an expression that evaluates to true if the integer variable x contains an even value, and false if it contains an odd val

ue
Computers and Technology
1 answer:
lions [1.4K]3 years ago
3 0

Answer:

Explanation:

I don't know what language you use, but mod is a common command in almost all of them. You could write it like this

for x = 1 to 10 do begin

 if x mod 2 = 0 then print x " is even."

 id x mod 2 = 1 then print x  " is odd."

end;

You might be interested in
your own choice Identify an organisation of whether factual of fiction with the following Consideration:The three best os to int
DedPeter [7]

Answer:

sorry dont know

Explanation:

7 0
3 years ago
If your computer won't connect to the internet, which of these is most likely to be the problem?
Setler79 [48]

Answer: just like rtyguj said, RAM, ROM, and O USB are all built into your computer so it would be onic

8 0
3 years ago
Which of the following commands uses correct syntax for matching the patterns bunk or bank at the end of a line of text?
Alika [10]

Answer:

a. grep 'b[au]nk$' myLine

Explanation:

grep is a command used for searching a specified pattern in a given text.

Our goal is to match the character sequence - bank or bunk at the end of line in a  given line referenced by myLine.

The regular expression for the specified match criterion is:

b[au]nk$

The second character can be either a or u.

$ indicates match at end of line.

So the overall grep command is :

grep 'b[au]nk$' myLine

8 0
3 years ago
What can I do with this? Lol
nikitadnepr [17]
Do with what? If you have a question please contact me ;)
3 0
3 years ago
PLEASE HELP!! In Tynker does anyone know how to do the physics cannon assignment?
madam [21]

Answer: really u want help with a game

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • The main storage device inside a computer where programs and files are saved is called the
    5·1 answer
  • Which file extension indicates a Microsoft Excel document?
    7·1 answer
  • Which tcp/ip troubleshooting command should you use to determine whether a client and server are communicating with each other?
    7·1 answer
  • What is the smallest colorable area on a display device
    10·1 answer
  • True or False: The correct answer to a numeric entry field will appear only if you click on the fields themselves after selectin
    12·1 answer
  • Assume that month is an int variable whose value is 1 or 2 or 3 or 5 ... or 11 or 12. Write an expression whose value is "jan" o
    10·1 answer
  • Write a program that simulates rolling one die using the following steps: 1. Prompt the user for the number of sides on the die.
    13·1 answer
  • Shelbi likes to play video games on an old Nintendo video game system. No matter how old the cartridge, when she inserts it into
    11·2 answers
  • I AM GIVING BRAINLIEST!!!!!!! PLEASE HELP !!!!!!!!
    7·2 answers
  • Dealing with stress and strong emotions centeral idea​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!