JSFiddle - React, Tailwind, and code Playground

by taoist

CSS

<script>
    
function theorm(num1,num2){

  a2 =  Math.pow(num1,2) 
  b2 =  Math.pow(num2,2)
  
  return a2 + b2;
 
    
} 



alert(theorm(3,7))









//a2 + b2 = c2
    </script>

JavaScript

<script>
    
    </script>

function theorm(num1,num2){

  a2 =  Math.pow(num1,2) 
  b2 =  Math.pow(num2,2)
  
  return a2 + b2;
 
    
} 



alert(theorm(3,7))









//a2 + b2 = c2