TRONG NGÔN NGỮ LẬP TRÌNH PASCAL LỆNH NÀO SAU ĐÂY LÀ ĐÚNG

4. Trong ngôn ngữ lập trình Pascal lệnh nào sau đây là đúng?

A. If a=5 then a:=d+1 else a:=d+2;

B. If a:=5 then a:=d+1; else a:=d+2;

C. If a=5 then a:=d+1; else a:=d+2;

D. If a:=5 then a:=d+1 else a:=d+2;