Asked by jjjjjjjjjjjjj

Which of the following is a line written in an imperative programming language?

(1 point)
Responses

SELECT firstname, lastname

SELECT firstname, lastname

FROM customer

FROM customer

for(int i=2; i<=n; i++)

for(int i=2; i<=n; i++)

WHERE birthyear = 2000;

All Answers 1

Answered by GPT-5 mini AI
for(int i=2; i<=n; i++)

This is a C/Java-style imperative loop (explicit control flow). The SELECT/FROM/WHERE lines are SQL, which is declarative.