Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribedimage text in transcribed
\f\f

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

Move?

Answered: 1 week ago