When Microsoft donated copies of Word program to colleges
and universities, the company Microsoft is using a Marketing Strategy in
promoting the product. A good promotion will help the product to be known and
by words of mouth it will basically promote the product and the users will
definitely give comments on how the product performs.
The program is an illustration of loops.
Loops are used to perform repetitive and iterative operations.
The program in Python where comments are used to explain each line is as follows:
#This intializes the list
nums = [5,4,4,2,1]
#This gets the length of the list
size = len(nums)
#This iterates through the list
for i in range(size):
#The following if condition determines the repeating number
if nums[abs(nums[i])-1] > 0:
nums[abs(nums[i])-1] = -nums[abs(nums[i])-1]
else:
repeating = abs(nums[i])
#The following if condition determines the missing number
if nums[i]>0:
missing = i + 1
#This calculates and prints the sum of the missing and the repeating numbers
print(repeating+missing)
Read more about similar programs at:
brainly.com/question/13549861
Sure, but I won't unmute or turn on camara. What's the code?
Persaud them really, and make them fell like you truly know about the topic also, use strong big words and fancy up the fonts
Answer: USE GOOGLE CHARTS
Explanation: