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 is the main reason Britain's claim to all lands between Newfoundland and Florida failed?
Amazon Appliance Company has three installers. Larry earns $355 per week, Curly earns $460 per week, and Moe earns $585 per week. The company's SUTA rate is
Which of the following is a moderate to vigorous sport that a student can participate in at school with teammates? Volleyball Archery Tennis Baseball
what is the term for figures used to measures economic performance?
In 1917, Congress passed the _____________ Test Act over President Wilson's veto
Two men decide to use their cars to pull a truck stuck in mud. They attach ropes and one pulls with a force of 515 N at an angle of 31◦ with respect to the dire
How was Islam able to cross the Sahara Desert in the eighth century?
Three types of symbiosis differ in ?
Which of the following is a moderate to vigorous sport that a student can participate in at school with teammates? Volleyball Archery Tennis Baseball
What attitude did the people of the United States share after the American Revolution?