g8-06261.in
g8-06261.out
已知两个 double 类型的变量 r 和 theta 分别表⽰⼀个扇形的圆半径及圆⼼角(弧度),则扇形的周长可 以通过表达式 (2 + theta) * r 求得。
double
r
theta
(2 + theta) * r