Back to Browse

ISC Computer Practical 2019-20 | [Question 1] ISC 2015 Computer Practical Paper Solved

64.9K views
Sep 19, 2019
22:58

Question: Given two positive numbers M and N, such that M is between 100 and 10000 and N is less than 100. Find the smallest integer that is greater than M and whose digits add up to N. For example, if M = 100 and N = 11, then the smallest integer greater than 100 whose digits add up to 11 is 119. Write a program to accept the numbers M and N from the user and print the smallest required number whose sum of all its digits is equal to N. Also, print the total number of digits present in the required number. The program should check for the validity of the inputs and display an appropriate message for an invalid input. Class: 11, 12 | ISC Computer ******************************************************************* Search for " amplify learning computer " on YouTube for all videos Splitting a number video: https://youtu.be/mpgoM31Ox7E ******************************************************************** You can follow us here, Twitter :- https://twitter.com/alokmaurya95 Instagram :- https://www.instagram.com/alokmaurya95 Facebook :- https://www.facebook.com/AlokMauryaOfficial Join me on Telegram, Our channel :- https://t.me/amplifylearning Contact me :- https://t.me/alokmaurya95 Check out our website :- www.amplifylearning.co.in Email us at :- [email protected] ********************************************************************** Join our youtube family, lets grow together! Subscribe to Amplify Learning https://www.youtube.com/AmplifyLearning #AmplifyLearning #Computer

Download

0 formats

No download links available.

ISC Computer Practical 2019-20 | [Question 1] ISC 2015 Computer Practical Paper Solved | NatokHD