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

What did agriculture provide that changed the course of human history?
How are freedom of the press and democracy connected?
In some correctional institutions, correctional counselors also draft case reports on inmates that are provided to the parole board. This analysis presents a pi
A bag contains 9 marbles: 2 are green, 4 are red, and 3 are blue. Mary chooses a marble at random, and without putting it back, chooses another one at r
Describe the three main sub?atomic particles. Include mass (with units), charge and location for each.
Hey I need the answer to this question ASAP, please help me!!
an object is hanging by a string from your rearview mirror. While you are decelerating at a constant rate from 25 m/s to rest in 6.0 s (a) what angle does the s
A series of paired statements that describe the various physical characteristics of different organisms is called
X/11 = 30/55 solve the porpoation
"an excel spreadsheet is an example of a(n ________ database."