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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -