GeekInterview.com
Series: Subject: Topic:
Question: 7 of 633

Scenario based question

How to find if the next value in a column is incrementing or not for ex 100 200 300 400 If the curval greater than previous val then print greater if lesser print lesser For ex 100 200 150 400, Here 150<200 so print lesser
Asked by: Sam Geek | Member Since Oct-2013 | Asked on: Oct 24th, 2013

View all questions by Sam Geek

Showing Answers 1 - 1 of 1 Answers
karthick

Answered On : May 30th, 2014

Previous value in one stag_v1 and presend value in stg_v2 compare the two , if greater then stg_v1=stg_v2 and move to next value. else loop it.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.