Answer:
C
Explanation:
setcookie() function is used to set the cookie value.you can give some expirationdate for the cookie using this
The Answer is C
The right answer is C) =SUM(A10:E10)
This is a problem of using <em>Excel. </em>This problem has been solved in Figure 1 and 2. The first formula =SUM($A1:C1) has been written in cell D1. This sum is:
Cell A1 + Cell B1 + Cell C1
Next, by using copy and paste tool in cell F10 the formula automatically changes to =SUM(A10:E10). This means that the program will compute the following sum:
Cell A10 + Cell B10 + Cell C10 + Cell D10 + Cell E10
Answer
it provides information to aid task performance
Explanation
Functional texts are designed to be used for the purpose of fulfilling particular need to solve a certain problem. It helps to accomplish everyday task A good example of a functional text is a recipe which gives the user the directions and the ingredients require for the preparation of a certain meal. So it is useful in every day life because it provides information to aid task performance.
Answer:
def display_factors(num):
for counter in range(1, num+1):
if num % counter == 0:
print(counter)
int_num= int(input("Enter a number : "))
print("The factors for {} are : ".format(int_num))
display_factors(int_num)
Explanation:
The function display_factors is used to display all factors of a number entered by a user.
- In this for counter in range(1, num+1) the for loop is iterated until counter is greater to num is false. Counter variable starts from 1 and ends when it gets greater than the input number.
- if num % counter == 0: In this statement, each loop iteration, checks whether a number (num) is exactly divisible by counter. It is the condition for counter to be a factor of num.
- print(counter) This is used to display factors of an input number
- int_num= int(input("Enter a number : ")) This statement asks user to enter a number (int_num) which will be an integer.
- display_factors(int_num) This calls display_factors number to find the factors of an input number.