ohloljo ohloljo
  • 24-03-2021
  • Computers and Technology
contestada

Program C++ I need help!

Program C I need help class=

Respuesta :

MeOrYes
MeOrYes MeOrYes
  • 24-03-2021

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:

Answer Link

Otras preguntas

Question 3: True or false?
U + -5/6 = -1/3 solve for u
Find the mass of AlCl3 that is produced when 3.58 moles of Al2O3 react with excess HCl according to the following equation.
If y varies directly as the cube of x, and y=54 when x = 3, find y when x= 5.​
Here is my question will give brainliset to whoever gets it right
what is drugs? and explain effect cause by drugs​
Which method of development was used in this paragraph? Molly's puppies were born during vacation. One puppy was white. Imagine that -- whitel We had taken spec
What is the definition of inequalities? Give an example.
One reason Andrew Jackson was considered a champion of the “common man” was because he denounced the American South. fought in the War of 1812. was a member of
Solve for x : x(3x+4)=4