- # Algorithm to find the number of integers greater than 10 in a list
- list = read(list of integers)
- n = len(list)
- count = 0
- For i = 1 to n
- If list[i] > 10:
- count = count + 1
- Endif
- End
- Return count
<h3>
Explanation:</h3>
Then the length of the list is stored in a variable n. A variable count to store the number of integers more significant than 10 is initialized to 0.
- Then, a for-loop is used to iterate over the list. A for-loop is used in this case because every element of the inventory needs to be checked for a value greater than 10.
- In each iteration of the for-loop, the value at the index of the list is checked. If the value is greater than 10, then the counter variable count is incremented by 1.
- The iterations continue till the for-loop ends. At this point, the variable count will be the number of integers greater than 10.
- Note that in case the list does not have any number greater than 10, then the count variable will be 0.
To learn more about it, refer
to brainly.com/question/25311149
#SPJ4
1. be able to see function keys and input and output ports on the back
2. never lose your tv in the dark
B. A contract outlining the terms under which a landlord agrees to rent property to a tenant.
A lease is where you arrange to use someone else's property, generally in exchange for money. The ownership of the property remains with the other entity. So with that in mind, let's look at the options.
A. A contract outlining the terms of a mortgage.
* This is a contract arranging for the transfer of ownership of property from one entity to another. So this is not a lease and is a bad choice.
B. A contract outlining the terms under which a landlord agrees to rent property to a tenant.
* This does meet the definition of a lease. You rent and therefore use someone else's property, but the ownership of the property remains with the landlord. So this is the correct choice.
C. A loan from a bank used to rent a home.
* This does not meet the definition of a lease and is therefore a bad choice.
D. A loan from a bank used to buy a house.
* This also does not meet the definition of a lease and is therefore a bad choice.
POP is a protocol used by e-mail clients to download e-mails to your computer. The correct option among all the options that are given in the question is the last option or option "d". The full form of POP is Post Office Protocol. After the email has been downloaded, the email gets erased from the server automatically.