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

Ryleigh received a $50 gift card to the frozen yogurt shop for her birthday. The shop sells yogurt sundaes for $4 and yogurt cones for $3. How many sundaes and
Square GYTD has vertices G(−4, 3), Y(0, 3), T(0, −1), and D(−4, −1). Square GYTD was rotated 90° clockwise around the origin to produce square GꞌYꞌTꞌDꞌ. Which c
A staff development coordinator is planning to teach the use of physical management techniques when clients become physically aggressive. the coordinator should
What type of line is the graph of 4x + y = −3
Read the passage from Black Boy. “It’s not for me,” my mother was saying. “It’s for your children that I’m asking you for money.” “I ain’t got nothing,” my fath
Which piece of legislation signed by Lyndon Johnson brought an end to barriers preventing minorities from participating in elections?
Find Au B if A ={ 4,7,10,13,17} and B={3,5,7,9}.
A pendulum has 665 j of potential energy at the highest point of its swing. How much kinetic energy will it have at the bottom of its swing
Line GH contains points G(–2, 6) and H(5, –3). What is the slope of ? – – – –
describe the graph of y > mx, where m > 0