Answer:
<u>C program to find the sum of the series( 1/2 + 2/3 + ... + i/i+1)</u>
#include <stdio.h>
double m(int i);//function declaration
//driver function
int main() {
int i;
printf("Enter number of item in the series-\n");//Taking input from user
scanf("%d",&i);
double a= m(i);//Calling function
printf("sum=%lf",a);
return 0;
}
double m(int i)//Defining function
{
double j,k;
double sum=0;
for(j=1;j<i+1;j++)//Loop for the sum
{
k=j+1;
sum=sum+(j/k);
}
return sum;
}
<u>Output:</u>
Enter number of item in the series-5
sum=3.550000
Answer: The Marvel batman, otherwise known as Iron Man did.
Explanation: Movie was pretty good.
Answer: c.)
Explanation:
The bit SYN is used in order to synchronize segment numbers in the sender and receiving processes in hosts that are trying to start a data transmitting session between them.
It is initiated by the sending end, that set this bit to " 1", in the TCP header, starting which is known as a "3-way handshake process".
The bit SYN is not used in order to close a connection, the FIN bit is used for this purpose.
If one process set the FIN bit to "1", this means that it has no more data to send.