![HavenShort3075](/avatars/34227.jpg)
HavenShort3075
22.05.2020 •
Computers and Technology
Match the relational or logical operations to their corresponding output.
Solved
Show answers
More tips
- H Health and Medicine Reasons for the Appearance of Warts: Everything You Need to Know...
- G Goods and services What Are the Most Popular Services?...
- O Other What is the oldest joke ever told?...
- L Legal consultation How to Properly Inherit: Tips and Recommendations...
- C Computers and Internet Boost your processor performance with these easy tips...
- S Sport How does Bodyflex work: what is it and how does it work?...
- H Health and Medicine How to Whiten Teeth and Get the Perfect Smile...
- S Style and Beauty How to Properly Apply Eye Makeup: Tips from a Professional Makeup Artist...
- A Auto and Moto How Can Parking Sensors Help Drivers?...
- C Computers and Internet Make Money Online: Secrets and Essential Ways...
Answers on questions: Computers and Technology
- H History What was the main effect of the fall of constantinople in 1453? european forces quickly moved to retake the city. centuries of widespread persecution of jews and christians...
- M Mathematics You drop a ball from a height of 10ft. each bounce the ball gains only 90% of its height back. how high does the ball bounce on its 6th bounce? starting amount: decay rate:...
- C Computers and Technology 1 which of the following tool is used to remove the area that is common to both when the parts of two objects are connected in inkscape a union b difference c group d duplicate...
- P Physics What is a nebula? i am clueless...
Ответ:
Iteration is not used in the program
Explanation:
Analysing the program one line at a time.
The first two lines are:
y = input("enter a number")
x = y MOD 5
The above lines show a sequential control structure. This is so because the first line is executed before the second (i.e. in sequence).
The third to the last lines are:
if x == 0 then
print(True)
endif
When a program includes at least one if statement or condition, this means that the program contains a selection program control structure.
The above lines may or may not be executed depending on the condition (if x == 0 then)
If the value of x is 0 then, True will be printed. If otherwise, True will not be printed
The program does not use iteration control structure because no part of the code were looped or repeated.