math - Writing arithmetic code in Java -
i have below 1 line of code:
variabledoublevalue = ((10*variabledoublea) + (6.25*variabledoubleb) – (5*variablebytec) + 5);
how can write in java understandable code?
from infer question, want java-language based variable declaration , assignment.
well, if case, result :-
//public class mathemathicalexpression{ // public static void main(string[] args){ // double a=some_value,b=some_value,value=0; considering a,b , value of type double // byte c=some_value; considering c of type byte. value = 10 * + 6.25 * b - 5 * c + 5; // } //}
Comments
Post a Comment