How can I express exponents in Pascal programming?

I don't know. Does it have something to do with looping?

2 Answers

  • 1 decade ago
    Favorite Answer

    Pascal does not have an inbuilt power function. You have to write one yourself. The common, but non-general method is defining

    function POWERFN(number, exponent: float): float;


    PowerFn := Exp(Exponent*Ln(Number));


    • Login to reply the answers
  • 3 years ago

    variety of, a minimal of from the playing element. playing probable has countless roots, i.e. attempting to kill a prey while they're interior questionable distance, attempting a sparkling nutrients, working while there is danger. in spite of the indisputable fact that, concept and wanting others to have self assurance probable has a foundation besides as this would have helped capability a small social group. Then too, our ability to manage symbols additionally contributes to the mixture.

    • Login to reply the answers
Still have questions? Get your answers by asking now.