Write a pseudocode to calculate the factorial of a number

Answers

Answer 1

Answer:

Answer CODE from C# Sharp  Language

Explanation:

using System;

namespace test

{

   class Program

   {

       public void silnia()

       {

           decimal liczba;

           decimal silnia = 1;

           Console.WriteLine("Obliczanie Silni ");

           Console.WriteLine("Podaj liczbę: ");

           liczba = Convert.ToInt32(System.Console.ReadLine());

           //liczba = int.Parse(Console.ReadLine());

           for (int i = 1; i <= liczba; i++)

               silnia *= i;

           Console.WriteLine("Wynik Silni Wynosi :  " +silnia +" \n ");

       }

       static Program ćwiczeniaA;

       static void Main(string[] args)

       {

           ćwiczeniaA = new Program();

           ćwiczeniaA.silnia();

       

           Console.WriteLine("Koniec Programu");

           System.Console.ReadLine();

       }                                

   }

}


Related Questions

State two pieces of information that need to be labeled on the idea development sketch. 1 .________________________________________________. 2 .___________________________________________.​

Answers

Answer:

Design drawings should show details on layout, measurements, plan, cross-sectional and vertical profiles. This information is prepared as scale drawings of the works to be constructed. they are legible  they include all information from previous revisions and updates.

Explanation:

what is the difference between coding with html and coding with python

Answers

Answer:

Python is an object-oriented programming language that is designed to be accessible and simple for all users, HTML is a web language and is used globally to define the structure of web pages by using various tags. HTML is not a programming language it's a markup language which is used to formatting web pages. Python is a general purpose scripting language which can be used to develop a wide range of programs.

A car manufacturer uses'simulation software during the design process for a new car. Which of the
following are reasons to use simulation software in this context?
1. Using simulation software can save the company money by helping to compare designs early in
the process, before prototype cars are built.
II. Using simulation software can help to identify safety issues by providing data about how different
mechanical components will interact in a wide variety of situations.
III. The manufacturer can present simulation software to customers to demonstrate different design
possibilities
А
I and II only
B
I and III only
С
II and III only
D
I, II, and III

Answers

D I,II and III is the answer i think

The reasons to use simulation software in this context are I, II, and III. The correct option is D.

What is simulation software?

The process of simulating a genuine phenomenon with a set of mathematical formulas is the foundation of simulation software. It is essentially a program that allows the user to simulate an operation and view it without really conducting it.

Simulation is a decision-making and decision-support tool. You can use simulation software to assess, compare, and optimize different designs, programs, and policies. As such, it can be used to explain and defend decisions to multiple stakeholders.

By allowing the corporation to evaluate concepts early in the process before prototype automobiles are constructed, simulation software can save the company money.

Therefore, the correct option is D, I, II, and III.

To learn more about simulation software, refer to the link:

https://brainly.com/question/16192324

#SPJ2

What is the Full form of DC?

Answers

Answer:

Deputy Commissioner.

Answer:

the full form of DC is deputy commissioner

For what purpose do the hackers create the zombies army?

A. DDoS Attacks
B. DoS Attacks
C. Warm Attacks

Answers

Answer:

A. DDoS Attacks

Explanation:

A zombie, in computer terminology, is a hacker, computer worm, trojan horse, or virus compromised internet connected computer, which can be remotely directed to perform malicious tasks

E-mail spams and denial-of-service, DoS attacks are spread and launched by botnets of zombie computers

Botnets which are also known as "zombie army", are used by hackers mainly for spam and distributed-denial-of-service, DDoS, attacks

While a DoS attack involves one machine, while a DDoS attack consist of multiple computing devices and machines

A botherder is the originator of a botnet and common botnets include Mr Black. Pushdo, and cyclone


1.can you identify the materials needed in making simple doorbell ???

2.what is the use of each material or tool needed in making simple doorbell?????

pakianswer po ng maayos​

Answers

Answer:

1. rotary tool, spray paint, light, drill,

Explanation:

In cell K2 enter a formula using the IF and OR functions, as well as structured references, to determine if Adam Moriarty can be a group leader. a. The IF function should first determine if the staff member’s Service Years is greater than 3 OR if the staff member’s college graduate status is "Yes". Remember to use a structured reference to the Service Years and the College Graduate columns.

Answers

Solution :

The value of the K2 cell is filled by IF and OR functions with structured references as :

[tex]K2=IF(OR([CBF\ \text{Staff[ Service years]} > 3, \text{CBF Staff[College graduate]}="Yes"),"Yes","No")[/tex]

Now if the syntax of the formula is not provided, then we can use :

[tex]$K2=IF(OR([[\text{Service Years}]]>3,[[\text{College Graduate}]]="Yes"),"Yes","No")$[/tex]

The staff member are required to satisfy one of the two or both the conditions so as to become a group leader. The conditions are :

---   staff member should served for more than 3 years

--- staff members should be college graduate

Other Questions
The government needs to provide public goods for what reason? A. They are necessary for raising the standard of living. B. Private companies cannot profit by providing them. C. Citizens demand government regulation to protect their freedom. D. The government can reduce taxes by profiting from public goods. Hy la chn mt cng ty s dng dch v nghin cu marketing ca cc nh cung cp bn ngoi 1.L do cng ty phi thu ngoi 2.Nhng t chc no cung cp dch v marketing cho cng ty? 3.CNG TY THU MT HAY THU TON B CAC HOT NG NGHIN CU MARKETING HELP!!!!Best answer gets brainliest. The ages of five children in a family are 6, 1, 3, 10, and 17. Which statement is true for this group of data?mode>meanmedian>meanmedian=modemean>median A City Electric Utility Enterprise Fund made its annual interest payment on its outstanding $20 million of 6% bonds, which were originally issued at a premium. Assuming the City maintains it books and records in a manner that facilitates preparation of its fund financial statements, the entry to record this would include a credit to Cash for the amount of the interest checks written and debit(s) to ___________. if a triangle has one angle that measure 81 degrees and another that measures 47 degrees, what is the measure of the third angle? please help i am very confused! A cone has a height of 3 feet. The diameter of the base is 8 feet. What is the approximate volume of the cone in feet to the nearest hundreth? ways to avoid cold war pls help 20 pointsWhich statements describe the county commission form of government? Check all that apply.Elected commissioners govern the county.Commissioners manage the county budget.An appointed executive administers the county.Commissioners create new county laws.Elected councilors adopt the county budget.An elected executive creates new county laws. 27. Find the length of the segment LK. (G.CO.C.10)Show your work! (2pts)J13xLKX + 6Click to add speaker notes A cat with a mass of 5.00 kg pushes on a 25.0 kg desk with a force of 50.0N to jump off. What is the force on the desk? After the narrator describes the soldiers backgrounds. Do you believe they are all battle hardened veterans willing to die for the case ?answer watching the video. https://youtu.be/89_3DgW_7mg ? which statement would a proponent of self-determination or black nationalism most likely agree with? Jamal puts $100 in an account that does not earn any interest. Every month after that, he deposits the same amount of money. This sequence represents his account balance for the first few months. $100, $125, $150, What is the explicit formula in function form for the amount of money in his account at the beginning of month n? Cullumber Corporation has announced that its net income for the year ended June 30, 2017, was $1,353,412. The company had EBITDA of $4,948,000, and its depreciation and amortization expense was equal to $1,128,000. The company's average tax rate is 34 percent. What was its interest expense A rock is thrown from the edge of the top of a 51 m tall building at some unknown angle above the horizontal. The rock strikes the ground a horizontal distance of 74 m from the base of the building 8 s after being thrown. Assume that the ground is level and that the side of the building is vertical. Determine the speed with which the rock was thrown. Match each word with the phrase that best defines it. comprehensive centralize coup d'tat infrastructure lyce Complete and wide-ranging A sudden overthrow of an existing government A secondary school that prepares students for UniversityTo bring under the control of a single authority The necessary structures that a country needs to function properly During 2004, Thor Lab supplied hospitals with a comprehensive diagnostic kit for $120. At a volume of 80,000 kits, Thor had fixed costs of $1,000,000 and a profit before income taxes of $200,000. Due to an adverse legal decision, Thors 2005 liability insurance increased by $1,200,000 over 2004. Assuming the volume and other costs are unchanged, what should the 2005 price be if Thor is to make the same $200,000 profit before income taxes?a. $120.00b. $135.00c. $150.00d. $240.00 What is the difference of the polynomials?(5x^3 + 4x^2) - (6x^2 - 2x - 9)Answers:A.) -x^3 + 6x^2 + 9B.) -x^3 + 2x^2 - 9C.) 5x^3 - 2x^2 - 2x - 9D.) 5x^3 - 2x^2 + 2x + 9