假设有这样的语句:
variable output = (7 * X )/8 //[Here X will be provided by the user]
//say for example , X=8
variable output = (7 * 8 )/8 = 7
现在,我必须得到输出变量的值without using multiplication (*) and division (/) operator.
任何建议或提示将不胜感激。
假设有这样的语句:
variable output = (7 * X )/8 //[Here X will be provided by the user]
//say for example , X=8
variable output = (7 * 8 )/8 = 7
现在,我必须得到输出变量的值without using multiplication (*) and division (/) operator.
任何建议或提示将不胜感激。