Answer:
#include<stdio.h>
void ConvertFahrenheit(float);
void main()
{
float fahrenheit_temp;
printf("Input the temperature in Fahrenheit: ");
scanf("%f", &fahrenheit_temp);
ConvertFahrenheit(fahrenheit_temp);
}
void ConvertFahrenheit(float fahren) {
float c, k;
c = (fahren - 32)/1.8;
k = (fahren + 459.67)/1.8;
printf("Celsius = %f\n", c);
printf("Kelvin = %f", k);
}
Explanation:
- Inside the main function, take the temperature in Fahrenheit as an input from user and call the ConvertFahrenheit function by passing it the fahrenheit_temp variable as an argument.
- Create the ConvertFahrenheit function for the conversion and convert the fahrenheit value to the Celsius and Kelvin by using their conversion formulas respectively.
- Lastly, display the result in Celsius and Kelvin.
Answer:
D. Create a cell reference in a formula by typing in the cell name or clicking the cell.
Further Explanation:
To create a cell reference in a formula the following procedure is used:
First, click on the cell where you want to add formula.
After that, in the formula bar assign the equal (=) sign.
Now, you have two options to reference one or more cells. Select a cell or range of cells that you want to reference. You can color code the cell references and borders to make it easier to work with it. Here, you can expand the cell selection or corner of the border.
Again, now define the name by typing in the cell and press F3 key to select the paste name box.
Finally, create a reference in any formula by pressing Ctrl+Shift+Enter.
Answer:
The output of the given code is 56.43
Explanation:
As the code is given in java language the following are the code
public class code
{
public static void main(String[] args)
{
double num = 56.4321;
System.out.print("%.2f", 56.4321);
}
}
The %f means that it print the floating point number and .2 means that it print the first two digit of the given number after the point .
so " %.2f "means that it print the value first 2 digit of floating point number after the point .
Therefore it print 56.43