Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Analysis Interviews:AnalysisAnalystAnalyst IntegrationAnalyst IntegrationAnecdotalBusiness AnalystCompetency BasedCredit AnalystCrime Scene AnalystData AnalystEmotional IntelligenceEvent PlannerExecutive Business AnalysisExecutive Business DevelopmentFemale SecretaryFinancial AnalystGISGIS AnalysisGIS DateMarket Research AnalystPension ExaminerPhone ScreeningPre EmploymentPre Employment ScreeningRecruitment/Research AnalystResearch AnalystResearch OfficerSales AnalystSpatial DataStatic AnalysisStatics MeasuresStatisticsSystem Analysis
Copyright © 2018. All Rights Reserved
Analyst Integration Interview Question:
How to get the last digit of an integer?
Submitted by: AdministratorBy using modulus operator, number % 10 returns the last digit of the number, for example 2345%10 will return 5 and 567%10 will return 7. Similarly division operator can be used to get rid of last digit of a number e.g. 2345/10 will give 234 and 567/10 will return 56. This is an important technique to know and useful to solve problems like number palindrome or reversing numbers.
Submitted by:
Submitted by:
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.