title: Using Powers in Pascal
body: <pre><code>program Project1;
  
  var
    num1: integer;
    num2: integer;
    answer: integer;
  begin
    writeln('This program will accept two input values and raise the first number to the power of the second value');
    writeln('Please enter the first number');
    readln(num1);
    writeln('Please enter the second number');
    readln(num2);
  
    writeln(num1**num2);
  end.
  </code></pre>
  
  <p>This is my code in Pascal. I want to enter two values and answer will return the first value of the power to the second. Can anyone help?</p>