Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C Pencil Case Bibi wants to make a cylinder pencil case with R cm radius and H cm height. Help her calculate the

Please use C

Pencil Case Bibi wants to make a cylinder pencil case with R cm radius and H cm height. Help her calculate the pencil cases surface area using exactly equals to 3.14. Format Input The first line of the input contains an integer T , the number of test case. The next T line contains an integer R and H. Format Output For each test case, print Case #X: Y with X is the number of test case and Y is the pencil cases surface area with 2 digits after comma. Constraints 1 T 103 1 R 100 1 H 100 Sample Input (standard input) 3 4 5 100 9 23 4 Sample Output (standard output) Case #1: 226.08 Case #2: 68452.00 Case #3: 3899.88

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

Mysql Examples Explanations Explain Examples

Authors: Harry Baker ,Ray Yao

1st Edition

B0CQK9RN2J, 979-8872176237

More Books

Students also viewed these Databases questions