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
ki77a [65]
3 years ago
8

You are given two variables, already declared and assigned values, one of type double, named totalWeight, containing the weight

of a shipment, and the other of type int, named quantity, containing the number of items in the shipment. Write an expression that calculates the weight of one item.
Mathematics
1 answer:
Alchen [17]3 years ago
8 0

Answer:

double singleWeight = totalWeight/quantity;

Step-by-step explanation:

Considering you already have two different declared and assigned variables, in C language you would have the following lines:

#include <stdio.h>

int main()

{

   double totalWeight = 5.2 ;

   int quantity = 2;

   double singleWeight = totalWeight/quantity;

   

   // Displays operation      

   printf("%f / %d = %f", totalWeight, quantity, singleWeight);

   return 0;

}

It is very important to keep in mind that the type of variable of singleWeight is double due to the expecting number is the result of the division where the dividend is double too.

You might be interested in
HURRYYYYY
Troyanec [42]

Answer:

B is correct.

Step-by-step explanation:

Quadratic Expression (Standard Form) is:

\displaystyle \large{a {x}^{2}  + bx + c}

To say it simply, the expression must have 2 as the highest degree.

This means that if there are any higher or lower degrees than 2 then they are not quadratic expression.

A choice is not quadratic expression because it has 1 as the highest degree.

B choice is correct because 2 is the highest degree.

C choice is wrong because 3 is the highest degree.

D choice is wrong because it is not a polynomial.

Therefore, B is correct.

7 0
3 years ago
Solve for x : Y=3x- 8<br> Y=-4x+6
LenaWriter [7]
3X-8=-4X+6 7X-8=6 7X=14 X=14\7=2
8 0
2 years ago
A survey of 7th graders at Sandy Middle School found that 152 students were enrolled in Art classes and 44 of those students are
sammy [17]

Answer:

354

Step-by-step explanation:

44+310=354. ejeihrbebeh

5 0
3 years ago
2. Write each of the following in set builder form. A = [5, 10, 15,20]​
Virty [35]

Answer:

A={x:x is a multiple of five }

4 0
2 years ago
Which equation has the same solution as w / 3.9 = 3? A. w+0.6=1.9 B. w-0.6 = 11.1 C. w+1.03=2.93 D. w-1.03=8.24
cestrela7 [59]

The equation has the same solution as w / 3.9 = 3 is w+0.6=1.9

Given:

w / 3.9 = 3

cross multiply

w × 3 = 3.9

3w = 3.9

divide both sides by 3

w = 3.9 / 3

w = 1.3

<em>Check all that applies</em>

A. w+0.6=1.9

w = 1.9 - 0.6

w = 1.3

B. w-0.6 = 11.1

w = 11.1 + 0.6

w = 11.7

C. w+1.03=2.93

w = 2.93 - 1.03

w = 1.9

D. w-1.03=8.24

w = 8.24 + 1.03

w = 9.27

Therefore, the equation has the same solution as w / 3.9 = 3 is w+0.6=1.9

Learn more about equation:

brainly.com/question/2972832

6 0
3 years ago
Other questions:
  • Chloe wants to cut a 37 in. piece of ribbon into three pieces. The second piece is to be 2 in. longer than the first, and the th
    12·1 answer
  • The line plot shows the weights of ten eggs laid by one hen. What is the total weight in ounces of the four heaviest eggs?
    15·1 answer
  • Steve takes 6 hours to get the yard work done by himself. If Bill works alone, it takes him 10 hours. How long would it take the
    9·2 answers
  • Please help<br> Me with this
    8·1 answer
  • I will give brainliest answer
    15·2 answers
  • HELPPPPPP
    15·1 answer
  • HELP PLEASE!!!! ONLY ANSWER IF YOU KNOW, WILL GIVE BRAINLIEST!!!!
    13·2 answers
  • Can u help me pls? Thanks
    9·1 answer
  • A grandfather purchased a brand new car in 1958 for ​$. 2500 The car depreciated ​$ 275 a year. What would the car be worth 4 ye
    7·1 answer
  • Evaluate 5x when x = -5.<br> *help plsss*
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!