Level 6 lession 4 C programmming error
#include <stdio.h>
int main() {
/
Y for Yellow
G for Green
R for Red
/
char signal = 'Y';
if(signal=='Y')
{
printf("Wait");
}
else if(signal== 'G')
{
printf("GO");
}
else if(signal== 'R')
{
printf("Stop");
}
return 0;
}
error:-
Have you created the else if block for Yellow light?