Latest Pratian technologies Aptitude Question SOLUTION: state the output of the following code: intnum=8; inti=1; int s=-1; while(i<=num) System.out.println((i++*s=-s)) +" ");