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
nordsb [41]
3 years ago
9

Write declaration statements to declare and initialize two variables: one is an integer variable named age, initialized to 18, a

nd the other variable, named weight, is initialized to 114.5.
Mathematics
1 answer:
Alla [95]3 years ago
7 0

Answer:

int age;

age=18;

float weight;

weight=114.5F;

Step-by-step explanation:

int age; \\ it is declared as integer because 18 is an integer value

age=18; \\ initialized as 18 is stored in the variable 'age'

float weight; \\ weight is declared as float because it's value is floating or decimal value which cannot be declared as integer value

weight=114.5F; \\ F shows that it's single floating type value of 32 bits, if F is not written then it means it double floating type value which is 64 bits long

You might be interested in
What’s the radius of a circle with the circumference of 37.68 feet
Lina20 [59]

Answer:

r≈6ft

Step-by-step explanation:

Using the formula

C=2πr

Solving forr

r=C

2π=37.68

2·π≈5.99696ft

pls mark as brainliest

7 0
3 years ago
Find the slope given: (1,5) &amp; (3,12)<br> m =
e-lub [12.9K]

Answer:

Rise (y) over Run (x)

12-5

------

3-1

7/2=m

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
What additional piece of information must be known in order to calculate the volume of the cylinder below? 7 in O the diameter o
slega [8]
The height of the cylinder
4 0
3 years ago
Let a and b be real numbers where a 4640. Which of the following functions could represent the graph below?
Ann [662]
I also need this too pleaseee huryy
5 0
3 years ago
Helpppppppppppppppppppppppppppppp with mathhhhhhhhh
allochka39001 [22]
Slope = -3/2

..........................


7 0
3 years ago
Read 2 more answers
Other questions:
  • Pleas help on 10-14 and if you can check 9 that would be great
    6·2 answers
  • What is 7.7 kilograms x 17 answer must be in kilograms
    7·1 answer
  • Solve the inequality. Graph the solution. c9≤−4
    11·1 answer
  • Which situation CANNOT be represented by this equation? <br><br>4x+7=314x+7=31<br><br>​
    5·1 answer
  • A soup kitchen falls under what type of organization
    9·1 answer
  • Sur une photographie réalisée avec un
    7·1 answer
  • Using x=7, how can we solve for the angle "9x+61"?
    10·2 answers
  • I need some help with this one!!!
    8·2 answers
  • How many kilometers does the shark swim in 1 minute? Write your answer as a fraction.
    7·1 answer
  • I need help please quickly ​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!