Answer:
if the number of elements in the array are equal to the size of the array then return -1.
Explanation:
We are implementing stack using array.Stack is a LIFO(Last In First Out) type data structure.Insertion and deletion is from one end only.
So while push operation or inserting elements in the stack using array we have to check that the capacity of array is not reached.If reached then no element can be inserted in the stack.If not then we can insert element in the stack.
Answer and Explanation:
#take input from user
n = int(input("Enter any number: "))
#sum variable to store sum
sum=0
#condition to exit from loop
while n!=-999:
#adding entered number in sum variable
sum=sum+n
#take input from user
n = int(input("Enter any number : "))
#print the sum
print("sum =",sum)
output:
Enter any number: 10
Enter any number : 100
Enter any number : -999
sum = 110
Hi!
A computer screen is what you are staring at right now!
It displays the output. Behind it are wires and cords.
~CoCo
The information that would be the next to be processed by the receiving device is: IP at the internet layer.
<h3>Internet protocol (IP)</h3>
Internet protocol is a network protocol that help to transmit data to user device across the internet or network which inturn make it possible for user device to connect and communicate over the network.
Internet protocol at the internet layer is a TCP/IP software protocol which sole purpose is to transfer data packets across the internet after receiving and processing the data.
Inconclusion the information that would be the next to be processed by the receiving device is: IP at the internet layer.
Learn more about internet protocol here:brainly.com/question/17820678
I think it is D
Hope my answer help you?