TCG Y2 Class Test 29 April

  • This is a OPEN BOOK test
  • Solutions will require creating a GitHub repo, I will submit a link to my GitHub repo in the provided textbox.

Q1

In a new GitHub repo, I need to write a React program to calculate the exponent of a number using recursion;

Q2

In a new GitHub repo I have to create a React (use Hooks) project with a function that receives a number as input and inserts underscores (_) after each two odd number.

##For example when you get 135679 the output should be 123_45_67_89