The right answer is A<span>.Active cell </span>
Answer:
Following are the code in c language
#include <stdio.h> // header file
int main() // main function
{
int n1,i;
float avg,x,s=0; // variable declaration
printf("\nEnter How many Number terms you want:");
scanf("%d",&n1); // input terms by user
for(i=0;i<n1;++i)
{
scanf("%f",&x); // user input
s= s +x; //calculate sum
}
avg = s/n1;// calculate average of n number
printf("\nThe average of n number is:");
printf("%f",avg); // display average
return 0;
}
Output
Enter How many Number terms you want:3
3
4
3
The average of n number is:3.333333
Answer:
1. Select the cell, click and start typing
2. Select the cell, click and start typing
Explanation:
To enter data in a cell in a spreadsheet, select the cell, click and start typing.
To overwrite data in a cell, select the cell, click and start typing.
A spreadsheet is an application that is used for entering, organizing, analyzing, interpreting and storing data. It a relatively simple application and an example is Microsoft Excel. The easiest way to enter data into a spreadsheet is to select the cell, click and start typing. Overwriting an already existing data can be done in the same manner in which data is entered into a cell - selecting the cell, clicking and start typing.
Answer:
B) prompt
Explanation:
Prompt tells a user that it's ready to receive commands by displaying a specific set of characters.
For example in <em>windows</em> it can be:
C:\Temp>, The prompt states that user is currently in <em>C </em>drive <em>Temp</em> directory.
in <em>Linux </em>based operating systems it can be:
[email protected]:~/Documents$
where it is in the format [email protected]:~directory$
Answer:
#here is code in python
#recursive function to find nth Fibonacci term
def nth_fib_term(n):
#if input term is less than 0
if n<0:
print("wronng input")
# First Fibonacci term is 0
elif n==0:
return 0
# Second Fibonacci term is 1
elif n==1:
return 1
else:
#find the nth term of Fibonacci sequence
return nth_fib_term(n-1)+nth_fib_term(n-2)
n=int(input("please enter the term:"))
print(n,"th Fibonacci term is: ")
print(nth_fib_term(n))
Explanation;
Read the term "n" which user wants to know of Fibonacci sequence.If term term "n" is less than 0 then it will print "wrong input". Otherwise it will calculate nth term of Fibonacci sequence recursively.After that function nth_fib_term(n) will return the term. Print that term
Output:
please enter the term:7
7 th Fibonacci term is:
13