Answer:
Here is code in C++.
// include header
#include<bits/stdc++.h>
using namespace std;
// function to calculate the nth Fibonacci term
int nth_fib(int num)
{ // base case for the recursive function
if (num <= 1)
return num;
// calculate the Fibonacci term by adding last two term of the sequence
return nth_fib(num-1) + nth_fib(num-2);
}
int main ()
{
// variable to read term
int num;
cout<<"Please Enter the number: ";
cin>>num;
// calling the function to return the nth term of Fibonacci sequence
cout <<"The "<<num<<"th Fibonacci term is: "<<nth_fib(num);
return 0;
}
Explanation:
Declare a variable "num" to read the term. Call the function nth_fib() with parameter "num"; .In the nth_fib(),if num is less or equal to 1 then it will return(base case of recursive function).Otherwise it will calculate the Fibonacci term by adding the previous two terms. When it reaches to base condition, The function will return the nth term of sequence.
Output:
Please Enter the number:6
The 6th Fibonacci term is: 8
Answer:
<h3>Option B: a hospital organized by divisions such as pediatrics, inpatient, outpatient, etc.</h3>
is a correct example of functional organizational structure.
Explanation:
A Functional Organizational Structure can be defined as a skeleton in which workers are organized in such a way that they form groups or sub-parts of organization by making their respective skills the basis for division. Each department with it role from President to Service man will vertically structure to form an Organization. Special units are created that report to the management.
So from given options, a hospital is a best example so far for a Functional Organizational Organization.
<h3>
I hope it will help YOu!</h3>
Answer: c- Access Quick Access commands using the More button.
Explanation:
Answer: The branch is called “Ergonomics”
Explanation:
A branch of applied science, which is concerned with making a workplace fit and efficient for humans to work in. In this branch of science, the main focus is on the physical aspects of the environment e.g. to minimize any injury that can be caused by workplace, like furniture and devices.
For example, while designing the furniture for the office several factors are kept in mind while designing the furniture. It’s designed in a way, that it causes comfort for the workers keeping in view the postures that are medically recommended.
Answer:
scanf(" %c" ,&op); //entering operators such as + - \ *
Explanation:
put space before %c