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 = 8'h00;
if (sel === 2'b00) begin
// Write your code here
y = a;
end
else if (sel === 2'b01) begin
// Write your code here
y = b;
end
else if (sel === 2'b10) begin
// Write your code here
y = c;
end
else begin
// Write your code here
y = 0;
end
end
endmodule