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

Complex carbs (starches) are made up of many ____* 2 points
Find the Circumference and Area of a circle with the information provided: D-20ft R=10ft
What are the 4 characteristics of a state
Simplify each expression
The center of circle is on the line y=2x and the line x=1is tangent to the circle at (1,6) find center and radius of the circle?
Easy 8th pre-algebra worth ten points each=30 points 1. -238(17)= 2. 920/-23= 3. 16(-40)(-8)=
Solve the equation. Ch 6. 10x + 2 = 32
The pressure on a scuba diver at sea level is 14.7 pounds per square inch (psi). The pressure increases 0.445 psi for each foot of depth. Suppose the pressure o
Multiply. (3x²+4y+2)​
How do you think the patterns in the atomic structure affect the patterns that you can see?