Write a C++ program that will compute the area of a circle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Write a C++ program that will compute the area of a circle

The program should restrict entry of letters and if a letter is input, it should display 'invalid input'

27th Nov 2021, 10:47 AM
Benson Kazungu
3 Answers
+ 4
Benson Kazungu , ▪︎before we are going to help you, please present your attempt here.     if you haven't done a try by yourself so far, please do so. create your code in playground and post the link to it here. ▪︎please also provide a proper task description with sample of input and output. ▪︎if your question is related to a code coach exercise,  please mention the tutorial name and the exercise number. thanks!
27th Nov 2021, 7:56 PM
Lothar
Lothar - avatar
+ 1
So what's your doubt here ?
27th Nov 2021, 12:24 PM
Arsenic
Arsenic - avatar
27th Nov 2021, 5:03 PM
Simon Sauter
Simon Sauter - avatar