A formula is statement written by the user to be calculated. Formulas can be as simple or as complex as the user wants. A formula can contain values, references to cells, defined names, and functions.
All formulas must start with the equals sign. =1+2+3
A function is a piece of code designed to calculate specific values and are used inside formulas. Functions to sum values, calculate a trigonometric cosine, and to calculate the current time are built into excel. Additional functions can be defined using Visual Basic.
Functions are typed alongside parenthesizes, where in the arguments if any are listed in between. To use functions in a formula, for example
=COS(3.14) will return the calculated cosine. =NOW() returns the current time. =SUM(1+2+3) *2 will multiply the sum by 2Explanation hope it helps
Answer:
Below are the program for the above question:
Explanation:
#include <stdio.h>//header file.
int main()//main function.
{
int value; //variable declaration.
printf("Enter a number to find its roman value: ");//render a message for the user.
scanf("%d",&value); //take a value from the user.
switch(value)//switch case starts
{
case 1:
printf("I");
break;
case 2:
printf("II");
break;
case 3:
printf("III");
break;
case 4:
printf("IV");
break;
case 5:
printf("V");
break;
case 6:
printf("VI");
break;
case 7:
printf("VII");
break;
case 8:
printf("VIII");
break;
case 9:
printf("IX");
break;
case 10:
printf("X");
break;
}//switch case ends.
return 0;//return statement.
}
Output:
- If the user inputs as 4, then the output is "IV".
Code Explantion :
- The above code is in c language, in which the scanf function is used to take the inputs from the user.
- Then the value match from the switch case and display the suitable result.
- And the user get the roman value from the user.
If it was already answered sometimes you can’t answer it. at least that’s what I think, bc that happens to me too. You can always comment if you want to say something.
The unit of measurement for capacitor rating is farad