Can c# know the area if we type per sqare foot or per_square_feet? , Or anything like that for the area | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can c# know the area if we type per sqare foot or per_square_feet? , Or anything like that for the area

Per_square_foot? Can c# understand if convert the area on its own https://code.sololearn.com/cQ18CUG68bWx/?ref=app https://code.sololearn.com/cQ18CUG68bWx/?ref=app

15th Jul 2019, 10:32 AM
Venkat
Venkat - avatar
3 Answers
0
My doubt is, if want to calculate area and assign some value or price per square foot or per square meter how can i do it or write a code to take in (ReadLine()) the above values into my code?
15th Jul 2019, 11:48 AM
Venkat
Venkat - avatar
0
Ya i know it worked I'm a newbie's so the code was also from a video tutorial that i was following but, in the attached code also i have a doubt the "length * width" in the code is calculated in per square foot ? Or is it meters that has been converted to per square foot?
15th Jul 2019, 12:01 PM
Venkat
Venkat - avatar
0
Ok so the code may(mine) be like this length * width both in square foots or whatever, as we did not code any further right?
15th Jul 2019, 12:28 PM
Venkat
Venkat - avatar