Debug the following program, so that the appropriate output…

Debug the following program, so that the appropriate output can be obtained.The current output is;TrueThe appropriate out is;False// We want to compare if the value stored in variable n is equal to 5.    n = 1;                                                           // Not allowed to modify this line.    if (n = 5)                               cout