Q1. how to get my output table interactive with the input numbers?
It's not totally clear to me what you're asking for here. Check out the shiny gallery >> Widgets for a number of examples of how to connect interactivity between your inputs and a table: Shiny for R Gallery
Q2. how to create output table in (T2) it is giving me error and I couldnt solve the problem
Right now your example isn't really in a form folks can work with.
I'd encourage you to follow the guide for creating minimal reproducible examples with shiny here: Shiny debugging and reprex guide
It'll maximize the chances other people willing to help here can get your code up and running, and help you diagnose your issues.