No products in the cart.

Output ques of 2017 paper set …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Output ques of 2017 paper set 4 Q1-e
  • 1 answers

Vineit Kumar Gupta 6 years, 11 months ago

Ok so the answer is 12*63*73......... Basically is question mei hum 0 position ki array ki divisibility check kar rahey hai 10 sei agar ye condition sahi hai foh hum ushey 5 sei divide kar de rahey hai but agar false toh hum usmei -2 add kar de rahey hai for eg first jo array hai ooh 100 hai uski hum nei divisibilty 10 sei check ki . Condition satisfied .. so usei humnei 2 sei divide kar diya hence 100 becomes 50 fir humney check kiya kya ye 5 sei divisible hai ... hai hai toh issei 5 sei divide kar diya .. hence array ki 0 position mei 100 ki jagah 10 aa gaya .. gaur karnei wali ye baat hai ki output ka loop humnei reverse mei chalaya hai yanai last wala jo array ka element hai ooh sabsei phele print hoga iss liye jo 10 hai ooh last mei printed hai and output is like 12*... ...*10*
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers
What is mean by buffering in file handling?
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App