Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The \"identifier\" is the name of a variable. Invert a valid variable identifier

ID: 3883111 • Letter: T

Question


The "identifier" is the name of a variable. Invert a valid variable identifier for each of the following places of data, and write a declaration statement, assuming a variables are double floating point values: 1) A temperature reading its units of degree Fahrenheit 2) A distance measurement in units of miles 3) Length, height and width measurement in units of meters 4) A Temperature reading units of degrees 5) A measure of force in units of pounds 6) A measure of force in unites of newtons. 7) Measure of density units of kg/m^3 8) A measure of mass in units of kg. 9) A measure of volume in units of m^3. Write C ass assignment statements for the following mathematical equations, using the precious identities: 10) Volume - length "height" width 11) Distance-length/1609.3 12) Temperature degrees Rankine)-459.67 +Temperature (in degrees Fahrenheit) 13) Force (in pounds)-(1/4.4482216)" force (in newtons) 14) Density-Mass/volume

Explanation / Answer

1)Declaration of variable,temperature of type double
double temperatureInFahrenheit;
2)Declaration of variable,distance of type double
double distance;
3)Declaration of variables,length ,width and height of type double
double length;
double height;
double width;
4)Declaration of variable,rankine type double
double temperatureInRankine;
5)Declaration of variable,force in pounds of type double
double forceInPounds;
6)Declaration of variable,force in newtons of type double
double forceInNewtons;
7)Declaration of variable,densityof type double
double density;
8)Declaration of variable,mass of type double
double mass;
9)Declaration of variable,volume of type double
double volume;

--------------------------------------------------------------------------------
10)
Note: Variables used in the equations taken from above declarations
C-statement for the volume equation
volume=length*height*width;

11)C-statement for distance equation
distance=length/1609.3;

12)C-statement for the temperature from fahrenheit to rankine
temperature
temperatureInRankine=459.67+temperatureInFahrenheit;

13)C-statement from force from newtons to pounds
forceInPounds=(1/4.4482216)*forceInNewtons;

14)C-statement for density
density=mass/volume;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote