Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROGRAMMED IN JAVA CSCI 2211 Programming Assignment 2. 1. Write a program to evaluate each of the formulas. (n=3.14) 2. All variables should be able

PROGRAMMED IN JAVA

image text in transcribed

CSCI 2211 Programming Assignment 2. 1. Write a program to evaluate each of the formulas. (n=3.14) 2. All variables should be able to be changed by the user. 3. Place each formula's components in a groupbox 4. 3 buttons, each named after their formula will, when clicked make its groupbox visible. Leaving the others formula inputs not visible. 5. The formula buttons should clear any data before making its groupbox visible. A. Area of a Trapezoid: 1 A = (x1 + x2) h x1 = 7.2 x2 = 10.6 h = 3.4 Expected Answer: 30.26 B. Surface Area of a Cylinder: r= 5.9 h = 3.4 S = 211 *r2 +27(r* h) Expected Answer: 344.58 C. Volume of a Sphere: r= 6.3 4 V=-11*p3 Expected Answer: 1046.86

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

More Books

Students also viewed these Databases questions

Question

4-5 How will MIS help my career?

Answered: 1 week ago