Category Archives: Programs

Program to print next palindromic Time

For the given hour and minute let say “hh” and “mm” print the next sooner palindromic time. Example: Input: hh = 02 mm = 03 Output: 02:20 Explaination:For the hour 02 and minute 03 the next sooner palindromic time is 02:20 Input hh = 04 mm = 45 Output: 05:50 Explaination:For the hour 04 and minute 45 the… Read More »

Find Top-Ranked Student Based on Exam Scores in C++

There are N student from class 12th,each student finished thier exam and exam consist with four subjects like math, computer, physics and chemistory. Result is announced and result list consist with student identity number with their corresponding marks scored in each subject. Our task is to find ranked student among the N student. Example: Suppose there are 5… Read More »