answersLogoWhite

0

  • Algorithm

: Multiply_n_Integers

Input:

integers, number of integers to be multiplied (n), loop variable (i)

Output

: mul, updated

Method

: Display 'Enter the number of elements'Accept nDisplay 'Enter elements one by one'for (i = 1 to n in steps of 1 do)Accept a (i)end_for mul = 1for (i = 1 to n in steps of 1 do)mul = mul*a(i)end_for Display 'multiplication of n integers is = ', mul

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

Introduction to algorithms for VLSI design automation?

If you are looking for an introductory text on algorithms for VLSI design automation, I recommend: Sabih H. Gerez, Algorithms for VLSI Design Automation, John Wiley and Sons, Chichester, (1999).


Why do have to design algorithms?

Because they do not exist naturally in nature.


16 mark questions of design and analysis of algorithms?

s


What has the author Dingzhu Du written?

Dingzhu Du has written: 'Design and analysis of approximation algorithms' -- subject(s): Approximation algorithms


16 mark questions of design and analysis of algorithms-cs1201?

student


What has the author Ioana Felicia Mihaila written?

Ioana Felicia Mihaila has written: 'Design coloring algorithms'


Can computers design algorithm?

No. Current computers may appear to be able to design algorithms, but they can really only give pre-determined answers setup by the programmer.


How would you develop a proposal to design develop and implement a new information management system?

To develop a proposal to design, develop and implement a new information management system you will need a detail documentation that will provide a detailed information requirements.


How would you develop a proposal to design-develop and implement a new information management system?

To develop a proposal to design, develop and implement a new information management system you will need a detail documentation that will provide a detailed information requirements.


What has the author Sanjiv Kapoor written?

Sanjiv Kapoor has written: 'Topics in the design and analysis of combinatorial algorithms' -- subject(s): Combinatorial analysis, Computer algorithms, Data processing, Data structures (Computer science)


What has the author D Katsiroubas written?

D. Katsiroubas has written: 'Rapid surface selection and design algorithms for compact exchangers'


What has the author S Lakshmivarahan written?

S. Lakshmivarahan has written: 'Analysis and Design of Parallel Algorithms' -- subject(s): Parallel algorithms, Parallel programming (Computer science), Programming, Supercomputers 'Parallel computing using the prefix problem' -- subject(s): Computer algorithms, Parallel programming (Computer science)