Is there any java or html code that read the answer of the calculation such as 2+2=4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any java or html code that read the answer of the calculation such as 2+2=4

25th Jul 2017, 4:14 PM
Avadesh Pandey
Avadesh Pandey - avatar
22 Answers
0
That's fine.
25th Jul 2017, 5:42 PM
josh mizzi
josh mizzi - avatar
+ 11
More elaboration needed. What do you mean by 'read the answer'? What are you trying to achieve?
25th Jul 2017, 4:16 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
@avadesh you want to read the calculated answer right ? then from java int x= 2 ; sum = x+x ; System.out.println(sum);
25th Jul 2017, 4:48 PM
nadz
nadz - avatar
+ 2
did you got your answer ? @Acadesh ?
25th Jul 2017, 5:02 PM
nadz
nadz - avatar
+ 1
it should read the calculated answer
25th Jul 2017, 4:19 PM
Avadesh Pandey
Avadesh Pandey - avatar
+ 1
Java X = 2 ; System.out.println(X+ "+"+ X +"="+(X+X)); //to print
25th Jul 2017, 4:40 PM
nadz
nadz - avatar
+ 1
okay 😊
25th Jul 2017, 5:03 PM
nadz
nadz - avatar
+ 1
no problem =) @avadesh sorry couldn't help to get what you wanted
25th Jul 2017, 5:06 PM
nadz
nadz - avatar
+ 1
What do you mean by ""read the answer" Do you want to store the output of a sum in a program or collect an answer from a specific sauce. Or are you talking about reading from a page?
25th Jul 2017, 5:18 PM
josh mizzi
josh mizzi - avatar
0
yes read the answer
25th Jul 2017, 4:18 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
still not will try tomorrow @nadz
25th Jul 2017, 5:02 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
thanx for answering @nadz and @hatsyrei
25th Jul 2017, 5:04 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
it's okay
25th Jul 2017, 5:07 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
it should read the calculated value i.e the answer we get should be in audio @joshmizzi
25th Jul 2017, 5:21 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
OK, so you want text to speech.
25th Jul 2017, 5:26 PM
josh mizzi
josh mizzi - avatar
0
yes@joshmizzi
25th Jul 2017, 5:26 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
I would imagine so. I don't know but I will reaserch it and post any links I find. 😃
25th Jul 2017, 5:28 PM
josh mizzi
josh mizzi - avatar
0
ok thanks @joshmizzi
25th Jul 2017, 5:31 PM
Avadesh Pandey
Avadesh Pandey - avatar
0
To clarify do you mean Java or Javascript? There is a difference.
25th Jul 2017, 5:34 PM
josh mizzi
josh mizzi - avatar