๐Ÿ’ปap computer science a review

Sqrt(double a)

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 sqrt() function calculates and returns the square root of a given number (a).

"Sqrt(double a)" also found in:

Sqrt(double a) Definition - AP Computer Science A Key Term | Fiveable