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 answer to this question is given below in the explanation section.
Explanation:
There are some steps that you use to access the subtotal dialog box.
To access the Subtotal dialog box, you need to follow the following steps:
Click the Date tab
In the Outline group, click Subtotal
to access the Subtotal dialog box.
The Subtotal function used in Excel and return the subtotal of the numbers in a column in a list or database. Subtotal is a builtin function in Excel that used to subtotal the number in a column or in a given database.
Answer:
The appropriate response will be "Public key".
Explanation:
- A public key would be created in something like such key encryption cryptography consisting incorporates asymmetric encryption of the keys algorithms.
- Those same keys have been utilized to transform a document to even such an unintelligible form. Decryption consists done using only a separate, however corresponding, secret address or private key.
Answer:
A. Click on the Function Library group and select a function from the drop-down menu.
B. Click on the Function Library group and Insert Function.
E. Type = into any cell.
F. Click on the formula bar above the cells.
Answer:
The output of the given question is :
Person
Person
Explanation:
Following are the description of Statements
- The new Person().printPerson(); calling the function of printPerson() of the class Person so it returns the Person in the console window.
- The new Student().printPerson(); calling the function of printPerson() of the class student .The student inherits the class Person So control will moves to the class it executed the statement inside the Person class So it executed the function public void printPerson() of the Person class so it also returns the Person String and execution of program become stops