programming

posted by .

Write an algorithm that prints the factorial for the first 20 even numbers. Then, give the big-O for your algorithm.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. mat 156

    The following algorithm give a correct answer 488 +_65_ 5^1 5^1 3 Explain why the algorithm works
  2. Algorithm

    write a pseudo code algorithm that will accept 20 numbers and finds their product
  3. programming

    Write an algorithm that converts a decimal number to binary. Then, give the big-O for your algorithm.
  4. programming

    1. Write a structured algorithm that prompts the user to input two numbers. The algorithm should calculate and print the sum & product of the two numbers [21/2]
  5. Quantum Physics

    In this problem, we will carry out some steps of the quantum factoring algorithm for N = 15 (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x = 2 ?
  6. physics

    n this problem, we will carry out some steps of the quantum factoring algorithm for N=15. (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=2?
  7. Quantum Computing

    In this problem, we will carry out some steps of the quantum factoring algorithm for N=21. (a) What is the period k of the periodic superposition set up by the quantum factoring algorithm if it chooses x=2?
  8. computer

    Write an algorithm for a program that accepts a set of numbers and finds the smallest among them and computes the sum of the numbers accepted. The program stops when the user enters number 999. Convert the algorithm into flowchart
  9. computer

    draw a flowchart and write the algorithm for printing the first 10 even numbers
  10. computer science

    draw a flowchart and write the algorithm for printing the first 10 even numbers

More Similar Questions