ExamPlay Light Logo
Registrazione

Computer Science for IGCSE & O level - Programming (Section 7 - No. 17)

What is the result of the following code segment: `x = 10; y = 3; z = x // y;`?
3
3.33
1
10

Spiegazione

The // operator performs integer division, so 10 // 3 equals 3.

Commenti (0)

Accedi per commentare
Annuncio
BrainBehindX Inc Logo
©2026; Offerto da BrainBehindX Inc