/*Write solution code here*/ module selector3( input [7:0]a, input [7:0]b, input [7:0]c, input [1:0]sel, output reg [7:0]y ); always @(*)begin y = (sel == 2'b00)? a: (sel == 2'b01)? b: (sel == 2'b10)? c: 8'h00; end endmodule