Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I created a c# program that Calculates 3.14 times of the square of input number.However, my program also needs to Divides the number by 3
I created a c# program that Calculates 3.14 times of the square of input number.However, my program also needs to Divides the number by 3 and returns the result and Squares the number and returns the result.
Any help would be appreciated I can't figure out what is wrong with my code. In the screenshots below capture 1 the result should be 2.0 and not 12.5600. In capture 2 the result should be 146.41, but it is also 12.56000.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started