anubhav_har
In the zone
Today I got a program which I think maybe easy or maybe too difficult.. lets see can anyone help me...
If a student is asked what is the value of the fraction 26/65.. what he does is cuts the two 6s i.e. one in the numerator and one in the denominator... and says 2/5.. whereas the answer is actually also 2/5.. so the problem in now to find all fractions with numerator b/w 10-99 and denomitor also 10-99... i.e. both numerator and denominators and two digits... and then print it... you can only check and cut in a cross way i.e. in case of 11/21 you can cut the first 1 of 11 with teh second one of 21... ie. cross wise X.. u cannot cut 13/12 bcause 1 in numerator is below 1 in denomirnator...
Please somebody code it...
If a student is asked what is the value of the fraction 26/65.. what he does is cuts the two 6s i.e. one in the numerator and one in the denominator... and says 2/5.. whereas the answer is actually also 2/5.. so the problem in now to find all fractions with numerator b/w 10-99 and denomitor also 10-99... i.e. both numerator and denominators and two digits... and then print it... you can only check and cut in a cross way i.e. in case of 11/21 you can cut the first 1 of 11 with teh second one of 21... ie. cross wise X.. u cannot cut 13/12 bcause 1 in numerator is below 1 in denomirnator...
Please somebody code it...