Provide us with this "sum" function, and we can tell you. We aren't psychic.
Answer:
Logic for a program
Explanation:
//Here ind = index
//declare the number
number ind
number sum
number avg
number SIZE = 20
number num[SIZE] = {0,0,0,0,0,0,0,0,0,0
,0,0,0,0,0,0,0,0,0,0}
getReady()
while ind < SIZE
getNumbers()
stop
getReady()
ind = 0
sum = 0
return
getNumbers()
cout<< “Enter a number for position ”, ind
input numbers[ind]
sum = sum + numbers[ind]
ind = ind + 1
return
;
finishUp()
avg = sum/SIZE
ind = 0
while ind < SIZE
output numbers[ind], avg – numbers[index]
ind = ind + 1
return
Modify the program in 2a
number index
number sum
number avg
number actualSize
number SIZE = 10
number number[SIZE] = 0
Answer:
A possible expense that are not a need are entertainment.
I hope this helped!
A CIDR Notation is known as the term that refers to a shorthand method for identifying network and host bits in an ip address.
<h3>
What is CIDR Notation?</h3>
This is known to be a term that was devised in 1993 by the IETF. The CIDR is said to be a shorthand method for knowing network and host bits in an IP address.
Therefore, one can say that A CIDR Notation is known as the term that refers to a shorthand method for identifying network and host bits in an ip address.
Learn more about CIDR Notation from
brainly.com/question/14985928
#SPJ12
Answer:
This is not true
Explanation:
The optimal Huffman code is used to encrypt and compress text files. It uses fixed-length code or variable-length code for encryption and compression of data.
The professor's character code is similar to Huffman's variable-length coding which uses variable length od binary digits to represent the word strings. The file size of the text file above is;
= 6 x 1 + 2 x 2 + 3 x 2 + 2 x 2 + 8 x 1 = 28 bits
This would be the same for both cases.
The encrypt would be the problem as the encoded and decoding of the characters B and E may cause an error.