Answer:
int state[] = new int[8];
Answer:
In Python:
N = int(input("Positive integer: "))
if N > 0:
flag = False
for i in range(1,N+1):
if i * i == N:
flag = True
break
print(str(flag))
else:
print("Positive integer only")
Explanation:
N = int(input("Positive integer: "))
If the number is positive
if N > 0:
This initializes a boolean variable to false
flag = False
This iterates from 1 to the input integer
for i in range(1,N+1):
This checks if th number is a square of some integer
if i * i == N:
If yes, flag is set to true
flag = True
The loop is exited
break
This prints either true or false, depending on the result of the loop
print(str(flag))
If otherwise, that the number is not positive
<em>else:</em>
<em> print("Positive integer only")</em>
Answer:
describe two events from the life of the prophet that illustrate the way he treated non muslims3+15-75+375.
Explanation:
53+15-75+3756,1803+15-75+375describe two events from the life of the prophet that illustrate the way he treated non muslims
Answer and Explanation:
I believe its A. Modularity enables multiple programmers to work on a program at the same time..
Let me know if I'm wrong..
Network layer protocols specify the <u>packet structure</u> and processing used to carry data between hosts.
<h3>What is the Network layer protocols about?</h3>
The header, payload, as well as the trailer of a network packet are its three component pieces. The underlying network architecture or protocol employed determines the format and size of a network packet. A network packet resembles a package in concept.
Therefore, Network layer protocols define the packet format and processing needed to transfer data from one host to another host, in contrast to the Transmission layer (OSI Layer 4), which controls the data transport between the programs operating on each end computer.
Learn more about Network layer from
brainly.com/question/14476736
#SPJ1