मराठी

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; }

Advertisements
Advertisements

प्रश्न

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;
}
अति संक्षिप्त उत्तर
Advertisements

उत्तर

9

2

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४९]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 1 Revision of Class 9 Syllabus
Exercises | Q 11. | पृष्ठ ४९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×