1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Shalnov [3]
4 years ago
12

Rearrange the statements in the following order so that the program prompts the user to input: a. The height of the base of a cy

linder b. The radius of the base of a cylinder The program then outputs (in order): a. The volume of the cylinder. b. The surface area of the cylinder c. Format the output to two decimal places.
Computers and Technology
1 answer:
NeTakaya4 years ago
5 0

Answer:

import java.util.Scanner;

public class num5 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter base heigth of the cylinder");

       double heigth = in.nextDouble();

       System.out.println("Enter radius of the cylinder");

       double radius = in.nextDouble();

       // vol = pi*r2*h area = 2π r h + 2π r².

       double volCylinder = Math.PI*(radius*radius)*heigth;

       double surfaceAreaCylinder = (2*Math.PI*radius*heigth)+

               (2*Math.PI*(radius*radius));

       // Outputs

       System.out.printf("The Vol of the cylinder %.2f \n",volCylinder);

       System.out.printf("The surface Area %.2f \n", surfaceAreaCylinder);

   }

}

Explanation:

The program is written in Java.

Prompt user for height and radius of the cylinder. Store in the repective variables

Calculate Volume of the cylinder

Calculate Surface Area

Using Java's printf function to output result to 2 decimal places

You might be interested in
This refers to the people involved in the data processing operation.
yawa3891 [41]
The people involved in the data processing operation are known as <span>Peopleware.</span>
6 0
3 years ago
Select the correct answer.
tangare [24]

Answer:

A. noise reduction

Explanation:

noise reduction reduces the loud sounds and makes it low, also noted that the low sounds are kept the same meaning its definitely noise reduction.

Extra's:

  • amplify - increases the strength of a sound.
  • compress - makes and affects both low and high sound by making them averagely high
  • normalise - to get the maximum volume.
3 0
2 years ago
How can you check data on devices connected through an iot network?
vampirchik [111]

<em>Internet of Things(IoT)</em> which could be described as a group of interconnected systems or objects which are able to communicate, transmit and exchange data using <em>smart technology</em> and sensors. Data can be checked and monitored on these devices using Dashboards.

  • Dashboards provides a graphical representation of information about interconnected IoT objects or devices. They are produced using data collected from interconnected objects.

  • Since all objects are interconnected, devices use data which are are stored in storage or memory locations. These data are then used to prepare information displayed on dashboards.

Therefore, dashboards provides an interface to view data information about IoT connected devices.

Learn more :brainly.com/question/24958568

6 0
3 years ago
Read 2 more answers
Your company has been using Windows workgroups on a server running Windows Server 2016. Due to the rapid growth of the company,
Vesna [10]

Answer:

It is an excellent decision to change to active directory

Explanation:

Active Directory offers the following advantages, for optimal customer response:

Main objects (users, groups, units, organization).

Security (groups, NTFS - permits, audit)

Integration (-windows services, Microsoft applications)

Administration (centralized and delegated)

Scalability (domain, tree, forest)

All the above helps us to control access to files.

3 0
3 years ago
The theft and/or destruction of information, resources, or funds via computers, computer networks, or the internet:
vodka [1.7K]
The answer is Cybercrime.  <span>The theft and/or destruction of information, resources, or funds via computers, computer networks, or the internet is called Cybercrime.  </span><span>Common types of </span>cybercrime<span> involve hacking, online scams and fraud, identity theft, etc.</span>
7 0
4 years ago
Other questions:
  • whats something that u want to do but ur parents wont allow it like having a phone or going to a college ​
    11·2 answers
  • What type of device is the printer?
    13·2 answers
  • 1.The small company where you work needs to implement a second server for its accounting system but does not have the funds to p
    15·1 answer
  • Differences between Quality of Services and a Service of Quality approach
    9·1 answer
  • Se Statements
    6·1 answer
  • What are the cues that a website is safe to use for exchanging sensitive information?
    10·1 answer
  • If a small monster collector:- Has 16 small monster containment devices and intends to use all of them.
    10·1 answer
  • The valence electron configurations of several atoms are shown. how many bonds can each atom make without hybridization? 2s^2 2p
    12·1 answer
  • Display the desktop without minimizing or closing any windows.
    6·1 answer
  • Word frequencies - functions
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!