Microsoft office wizard guides you thought the steps to complete a complex task
Answer:
Following are the program in c++ language
#include <iostream> // header file
using namespace std;// namespace
int main() // main function
{
int num; // variable declaration
long int f=1; // variable declaration
do
{
cout<<"Enter the Positive value:";
cin>>num;
} while(num<0); // i check whether number is non negative or not
while(num>0) // iterating over the loop
{
f=f*num; // calculate the factorial
num--; // decrement the value of num by 1
}
cout<<" factorial is :"<<f; // display the factorial .
return 0;
}
Output:
Enter the Positive value:7
factorial is :5040
Explanation:
Following are the description of the program .
- Read the input by user in the "num" variable of "int" type..
- The do-while will check the enter number is nonnegative number.
- While(n>0) loop is calculating the factorial in the "f" variable .
- Finally display the factorial .
Answer:
The reason is that the windowing system consumes significantly more memory and virtual memory than the text mode.
Explanation:
The reason behind the occurrence of this is that the windowing system consumes significantly more memory and virtual memory than the text mode. As a result, this reduces the likelihood of the hard disk becoming inactive for long enough for it to be powered down by itself with no direct human control, i.e. automatically.
<span>The Rex robot imitates the dinosaur
perfectly. In terms of its structure, the robot looks like a dinosaur, and this
is seen in the robot’s serrated teeth. To some extent, the robot imitates the
cheetah due to its speed ability.</span>
He could create foreign keys, which are basically columns in a table with values that identify a record from another table.
However, even without foreign keys you can construct queries that link data from multiple tables together.