Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
int recurs(int x, int n)//defining a method recurs that accepts two parameter
{
if(n==0)//defining if block that checks n value
{
return 1;//return value 1
}
else//defining else block
{
return x*recurs(x,n-1);//use return keyword that retun value
}
}
int main()//defining main method
{
cout<<recurs(5,3); //use print method to call recurs method
return 0;
}
Output:
125
Explanation:
In the above-given program, the integer method "recurs" is declared which accepts, two integer variables, which are "x, n", inside the method the if conditional statement is used.
- In the if block, it checks the value of n is equal to "0" if this condition is true, it will return a value, that is 1.
- Otherwise, it will go to the else block, in this block, it will use the recursive method to print its value.
Answer:
A: Delivery receipts can be enabled for all messages, while read receipts can be turned off by the recipient.
So u won't keep on saying where u found your evidence at and when u are done writing u say where u got the information from
Answer:
<u>Artificial Intelligence</u> and <u>IOT</u>
Explanation:
Great question, this is an important topic in the world today.
One huge emerging trend in the world of information technology today is <u>Artificial Intelligence</u> and <u>IOT also known as the Internet of Things</u>. Artificial Intelligence today can be found in just about any smart device. They are capable of searching the internet instantaneously in order to solve a problem and compare hundreds and thousands of scenarios in a couple of seconds in order to answer questions and solve problems.
Combining this with the Internet of Things , which is a worldwide web of interconnected devices. Artificial Intelligence has the ability to change our world beyond recognition in the next decade, by automatizing everything that requires human involvement to complete today.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.