Answer:
.
Explanation:
you do to me on the bottom bar and once you hit that you click the pencil and change it
Answer: Bulleted or numbered lists, presenting data in tables, and the formatting one.
Explanation: I’m taking the test and i’m pretty sure that’s right, lmk if you got a better answer though!
Answer: False.
Explanation:
The general case of recursive function is when the solution is obtained recursively by simplification at each step.
However, it is the base case in a recursive function when the solution is obtained directly.
The general case must be reducible to base to arrive at a solution else the recursion would be a infinite recursion.
Answer:
float diameter=2*r; //hold the diameter of a circle
float PI; // float variable named PI.
Explanation:
Here we have declared two variable i.e diameter and PI of type float. The variable diameter will hold the diameter of a circle i.e 2*r where r is the radius of a circle.
Following are the program in c++
#include <iostream> // header file
using namespace std; // namespace
int main() // main function
{
float r=9.2; // variable declaration
float diameter=2*r; //hold the diameter of a circle
float PI=3.14; // float variable named PI hold 3.14
cout<<"diameter IS :"<<diameter<<endl<<"PI IS :"<<PI; // display value
return 0;
}
Output:
diameter IS :18.4
PI IS :3.14