find output
a = parseInt(prompt("enter any value"))
if ((a%3==2))
document.write(a)
else
document.write("error")
Answers
Answered by
1
CASE 1
Input
8
Output
//its print 8
8
CASE 2
Input
6
Output
//its print 'error'
error
hope helps full mark me as brain
Similar questions