ISC 2018 Computer Practical Write a program to declare a matrix A[ ] [ ] of order (M xN) where ‘M’ is the number of rows and ‘N’ is the number of columns such that the values of both ‘M’ and ‘N’ must be greater than 2 and less than 10. Allow the user to […]
ISC 2018 Computer Practical Question 1 A Goldbach number is a positive even integer that can be expressed as the sum of two odd primes. Note: All even integer numbers greater than 4 are Goldbach numbers. Example: 6 = 3 + 3 10 = 3 + 7 10 = 5 + 5 Hence, 6 has […]
ISC 2018 Computer Practical The names of the teams participating in a competition should be displayed on a banner vertically, to accommodate as many teams as possible in a single banner. Design a program to accept the names of N teams, where 2 < N < 9 and display them in vertical order, side by […]
Amicable numbers are two different numbers so related that the sum of the proper divisors of each is equal to the other number. The smallest pair of amicable numbers is (220, 284). They are amicable because the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110, of […]
ISC practical program Write a program to input a number and check whether the number is a composite number or not. If the number is a composite number check if its sum of digits is prime or not and print appropriate messages.
ISC practicals – Program to print all automorphic numbers between 1 and n, where n is a number given by the user. In mathematics an automorphic number is a number whose square “ends” in the same digits as the number itself. For example, 52 = 25, 62 = 36, 762 = 5776, 3762 = 141376,and […]