๐Ÿ’ปap computer science a review

I * 2

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

The expression "i * 2" represents multiplying the value of variable 'i' by 2. This multiplication operation doubles the value held by 'i'.

"I * 2" also found in: