Answer:#include <iostream>
using namespace std;
int main()
{
int factorial = 1;
for (int i = 5; i > 0; i--) {
factorial = factorial * i;
}
cout<<factorial;
return 0;
}
Explanation:
Much like humans, databases have relationships too.
Answer:
writing one in comments bec i don't have time for both sorry
Answer:
all options
a, b and c the most important
Explanation:
Following are the program to calculate the power of two:
Program Explanation:
- Defining an integer variable "i" that hold an integer value.
- Defining a for loop that checks "i" value in between 20, inside this it calculates power of two.
- At the last use print method to print its value.
Program:
i=1#holding integer value in i
for i in range(20):#defining a for that starts 1 to 20
i = 2 ** i#calculate power of 2 in i variable
print(i)#print value
Output:
Please find the attached file.
Learn more:
brainly.com/question/23170807