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:
hello 안녕하세요
Explanation:
mate I tried to write here but it says it's too much writing that why I attached a pic
BTW did u like that☺☺
Answer:
Satelite
Explanation:
But which is best, satellite, ISDN, fixed wire(Cable), or mobile wireless? The answer depends on what you’re looking for in terms of price and speed—and where you live.
Satellite internet is a great option for rural-area residents (Remote) because it’s available virtually anywhere. Internet speeds can range from 12 to 100 Mbps.
Answer:
The first one I'm sorry if I'm wrong
They WHO did declare global health emergency at the end of January