Beruflich Dokumente
Kultur Dokumente
Teachers Signature
Kanchrapara College
Date: 21/10/2017 Department of Computer Science
26. Write a programme to find out the integer number form the digits
entered by the user. The user enters the digits and at the end the user
enter dot (.) to stop to enter the digits.
27. Write a programme to check the given number is Armstrong number or
not.
28. Write a programme to check the given number is Krishnamurthy
number or not.
29. Write a programme to check the given number is Palindrome number or
not.
30. Write a programme to check the given number is Ramanujan number or
not.
31. Write a programme to find the greatest common divisor (GCD) of two
given number.
32. Write a programme to find the least common multiple (LCM) of two
given number.
33. Write a programme to check the given number is prime number or not.
34. Write a programme to print the prime number in a given range.
35. Write a programme to check the given number is a twin prime number
or not.
36. Write a programme to print the pattern given blow:
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7
0 1 0
1 0 1
0 1 0
1 2 3
2 4 6
3 6 9
1 2 3 4
10 20 30 40
100 200
1000
Teachers Signature
Kanchrapara College
Date: 21/10/2017 Department of Computer Science
40. Write a programme to print the pattern given blow:
1 2 3 4
1 2 3
1 2
1 2 3 4 3 2 1
1 2 3 2 1
1 2 1
1 0 1 0
0 1 0
1 0
1 0 1 0 1 0
1 0 1 0 1
0 1 0 1
0 1 0
1 0
1 2 3 3 2 1
1 2 3 4 3 2 1
Teachers Signature
Kanchrapara College
Date: 08/01/2018 Department of Computer Science
A A
A B B A
A B C B A
A B C D C B A
A B C C B A
A B B A
A A
4 3 2 1
4 3 2
4 3
1 2 3 4
1 2 3
1 2
1 2 3 4
2 3 4
3 4
4
Date: 08/01/2018
Department of Computer Science
1 2 1
1 2 3 2 1
1 2 1
1 1
1 2 1
1 2 2 1
* *
* * *
* * * *
* * *
* *
* *
* *
* *
*
Date: 08/01/2018 Department of Computer Science
1 2 3 4 3 2 1
1 2 3 2 1
1 2 1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4
4 3 2 1
1 2 3 4
4 3 2 1