Computers and Technology
15.01.2020 16:44
106
369
9
Solved by an expert

Comment if u hate ur parents I do they annoyinng!

Comment if u hate ur parents

I do they annoyinng!
Show Answers
kristinbohannan
kristinbohannan
5,0(14 marks)
They’re over protective but hate is a strong word...
bnbjj
bnbjj
4,5(42 marks)

you shouldn't hat ur parents they care about u and love u no matter what happens

Explanation:

Laylahlettiere
Laylahlettiere
5,0(83 marks)
#include <stdio.h>int main(){    const double piVal = 3.14159;    double sphereVolume = 0.0;    double sphereRadius = 0.0;        sphereRadius = 1.0;    sphereVolume = 4.0/ 3.0 * piVal * sphereRadius * sphereRadius * sphereRadius;            printf("Sphere volume: %lf\n", sphereVolume);    return 0;}

Explanation:

Firstly we can identify the formula to calculate volume of sphere which is

Volume = 4/3 \pi r^{3}

With this formula in mind, we can apply this formula to calculate the volume of sphere in Line 10. This is important to perform floating-point division 4.0/3.0 to ensure the resulting value is a floating value as well. Since we have been given piVal and sphereRadius, we can just multiply the result of floating-point division with piVal and sphereRadius and get the sphereVolume value.

At last, display the sphere volume using printf method (Line 13).

Popular Questions about the subject: Computers and Technology

Why are film photographs and digital photographs are handled differently for...
Computers and Technology
02.02.2023 14:34
The first time a user launches the PowerPoint program, which view is shown...
Computers and Technology
24.03.2023 16:22
Which of these statements are true about Domain Controllers (DCs)? Check all...
Computers and Technology
08.01.2022 12:36
Write an E20 assembly language program that will store the value 1099 at memory...
Computers and Technology
08.07.2020 04:49
Difference and similarity between cluster computing and Hadoop ecosystem?...
Computers and Technology
10.11.2022 19:07
Which of the following is false? group of answer choices a) a string may include...
Computers and Technology
13.07.2022 19:12
Insert a row above the selected row (in between row 1 and row 2)....
Computers and Technology
02.05.2020 14:45
The first set of numbers on the bottom left corner of a check...
Computers and Technology
01.09.2020 04:37
Auser logs into their computer and is presented with a screen showing a department...
Computers and Technology
06.02.2021 21:14
Auser notices that a mobile device is draining power faster than is normal....
Computers and Technology
29.06.2023 15:11

New questions by subject

Calculate the grams of CaCO3 from Na2CO3 What we know: CaCO3:Na2CO3 = 1:1 98.3mL...
Chemistry
12.04.2021 14:38
Select the correct answer from each drop-down menu....
Mathematics
08.10.2020 10:27
What happened to the catalase molecule when exposed to high heat and acid?...
Biology
05.08.2020 13:12
Imagina que estás en una fiesta. ¿Qué tipos de actividades están ocurriendo...
Spanish
30.11.2020 07:13
#
#
#
#
# #

We expand our knowledge with many expert answers