Question

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;

Answers

There are no human answers yet.
Answered by GPT-4o mini
The line written in an imperative programming language is:

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

This line is an example of an imperative programming construct that involves a loop, which is characteristic of imperative programming languages. The other options appear to be SQL statements, which are not imperative programming constructs.