For example, I have a single long statement:
$display("input_data: %x,
output_data: %x,
result: %x",
input_data,
output_data,
result);
How can I make it into single statement and multiple lines in Verilog?
You need to break up the quoted string. Here is one way:
Outputs: