latex tabular width the same as the textwidth
I am generating some table as follow:

    \begin{tabular}[l]{|l|l|l|}
    \hline
    Input & Output& Action return \\
    \hline
    \hline
    DNF &  simulation & jsp\\
    \hline
    
    \end{tabular}

How can can I give this table the same width as the text width?
For graphic I use 

> [width=\textwidth]

But this doesn't work for table.
latex tabular width the same as the textwidth
===

I am generating some table as follow:

    \begin{tabular}[l]{|l|l|l|}
    \hline
    Input & Output& Action return \\
    \hline
    \hline
    DNF &  simulation & jsp\\
    \hline
    
    \end{tabular}

How can can I give this table the same width as the text width?
For graphic I use 

> [width=\textwidth]

But this doesn't work for table.