+ 5

If there's a mistake in this code please correct me. 😊 And tell me also how can I improve this code?

https://code.sololearn.com/c8y8gTP5JlMq/?ref=app

13th Jun 2017, 5:48 PM
primex
primex - avatar
2 odpowiedzi
+ 5
@Mukul thank u 😊
13th Jun 2017, 6:52 PM
primex
primex - avatar
+ 3
your code is correct. it may be short. there is no need of defining pi, use it directly​ in your cout statement. do all the calculation in your statement to make it small.
13th Jun 2017, 6:37 PM
Mukul Kumar
Mukul Kumar - avatar