If there's a mistake in this code please correct me. 😊 And tell me also how can I improve this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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