How to write a program using case sensitive variables with a new equation of adding three variables then divided by two?

What do you understand by the case sensitive variable with a new equation of program, the equation is D= (a+b+c)/2 for calculating input of variable in dynamic program?

Introduction of the program adding three variable is divided by two

The program calculates the equation by giving some variable value. The value of the variable will apply when the output screen will come after compiling the program. The equation of the program is adding three variables divided by two. The program type is a dynamic for applying the value of a variable during output.

What do you understand by the case sensitive variable with a new equation of program, the equation is D= (a+b+c)/2 for calculating input of variable in dynamic program?

The output of the program is the same as the previous post for example...

If you are giving the value of "a" variable is 2 and values of "b" and "c" are 3 and 5 respectively then the sum of these 10 is divided by 2 two according to the equation then the output is 5. 

Remember in this program the data type is "int" integer has been used. The program doesn't give the output in decimal numbers.

Note :- the equation uses only the parenthesis type of bracket.

What are the components of the program of adding three variable is divided by two?

The program included integer data type that stores value type in digits or a number for every variable. In this program body there are three printf statements added for taking an input of every variable in a program where the input statement scanf is used to take input value of variables. The last printf statement is used to print the value of result which is calculated by the equation of as mentioned in the program after output and input statements above the get character statement in the program. In the program the case sensitive variable is used after declaring the data type, the case sensitive variable is “D” as mentioned above.  

Comments

  1. Please solve my solution wy me not show my subscribe and like view

    ReplyDelete

Post a Comment

Popular posts from this blog

The basic model of computation and process of computing the problem in the basic of model of computation

Let us discuss about a simple constant program in “C” language

Write a program to find the value of fahrenheit from degree celsius in programming C languages? Introduction to the program of finding value fahrenheit from degree celsius using dynamic variable values topics covered following below What is the interface of a program of finding the value of fahrenheit from degree celsius in C language? Which data type can you use in the program of finding values of fahrenheit from degree celsius? What output statement has been used in the program of finding values of fahrenheit from degree celsius? What input statement has been used in the program of finding values of fahrenheit from degree celsius? How does the program work for finding values of fahrenheit from degree celsius? How do you understand the equation has been used in the program of finding values of fahrenheit from degree celsius? How do you understand the output of the program of finding the values of fahrenheit from degree celsius?

What do you understand by the program structure in "C" Programming language?

Write a program using the equation z is equal to x is divided by y with dynamic variable value in C language

What do you understand by the Operators in "C" programing language?

What do you understand by the variable in the "C" programing language?

State the Differences between the Testing of a program and Debugging of a program in programing language?

what do you understand by the algorithm?