Kotlin Practicals

1. Kotlin Programs

1. Kotlin Program to Print an Integer (Entered by the User)

2. Kotlin Program to Add Two Integers

3. Kotlin Program to Multiply two Floating Point Numbers

4. Kotlin Program to Find ASCII value of a character

5. Kotlin Program to Compute Quotient and Remainder

6. Kotlin Program to Swap Two Numbers

7. Kotlin Program to Check Whether a Number is Even or Odd

8. Kotlin Program to Check Whether an Alphabet is Vowel or Consonant

9. Kotlin Program to Find the Largest Among Three Numbers

10. Kotlin Program to Find all Roots of a Quadratic Equation

11. Kotlin Program to Check Leap Year

12. Kotlin Program to Check Whether a Number is Positive or Negative

13. Kotlin Program to Check Whether a Character is Alphabet or Not

14. Kotlin Program to Calculate the Sum of Natural Numbers

15. Kotlin Program to Find Factorial of a Number

16. Kotlin Program to Generate Multiplication Table

17. Kotlin Program to Display Fibonacci Series

18. Kotlin Program to Display Characters from A to Z using loop

19. Kotlin Program to Count Number of Digits in an Integer

20. Kotlin Program to Reverse a Number

21. Kotlin Program to Calculate the Power of a Number

22. Kotlin Program to Check Whether a Number is Palindrome or Not

23. Kotlin Program to Check Whether a Number is Prime or Not

24. Kotlin Program to Make a Simple Calculator Using switch...case

25. Kotlin Program to Calculate Average Using Arrays

26. Kotlin Program to Find Largest Element in an Array

27. Kotlin Program to Add Two Matrix Using Multi-dimensional Arrays

28. Kotlin Program to Multiply to Matrix Using Multi-dimensional Arrays

29. Kotlin Program to Count the Number of Vowels and Consonants in a Sentence

30. Kotlin Code To Create Pyramid and Pattern

31. Kotlin Program to Print an Array

32. Kotlin Program to Check if An Array Contains a Given Value

33. Kotlin Program to Get Current Date/TIme

34. Kotlin Program to Convert Milliseconds to Minutes and Seconds

35. Kotlin Program to Compare Strings

36. Kotlin program of creating multiple objects and accessing the property and member function of class

37. Kotlin program of inheritance

38. Kotlin program of abstract

39. Kotlin program of inheritance primary constructor 

40. Kotlin program of inheritance secondary constructor 

41. Kotlin program of overriding the member function

42. Kotlin program of an interface

43. Kotlin program of two interface 

44. Kotlin program of super

45. Kotlin program of private modifiers

46. Kotlin program of protected modifiers


2. Kotlin GUI Apps

No comments:

Post a Comment