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