(vi) Give the output of the following program segment:

int n = 4279; int d;
while(n>0)
{
d=n%10;
System.out.println(d);
n=n/100;
}


Solution



9
2


Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com