0% found this document useful (0 votes)
14 views2 pages

Practical

The document lists various programming exercises and examples, covering a wide range of topics such as mathematical calculations, string manipulations, data structures, and file operations. Each item represents a specific programming task, such as converting Fahrenheit to Celsius, finding prime numbers, and displaying patterns. The content serves as a resource for learning and practicing programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Practical

The document lists various programming exercises and examples, covering a wide range of topics such as mathematical calculations, string manipulations, data structures, and file operations. Each item represents a specific programming task, such as converting Fahrenheit to Celsius, finding prime numbers, and displaying patterns. The content serves as a resource for learning and practicing programming concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Fahrenheit To Celsius Program


2. Largest Of Three Numbers Program
3. SWAP Two Numbers Program
4. Program To Pass Or Fail In Exam
5. Prime Number Program
6. Reverse A Number Program
7. Check Vowel Or Consonant Program
8. Leap Year Program
9. Factorial Program
10. Binary to Decimal
11. Get IP Address Program
12.Find Power of a Number
13. Area of a Triangle
14. Calculate Simple Interest
15. Product of 2 Numbers
16. Area of a circle
17. Fibonacci Series
18. Print Ascii Value
19. Find nth Prime Number
20. Convert string to float
21. Palindrome Program
22. Duplicate elements
23. Natural Number Program
24 Extract Digits from a Given Number
25 Convert Days into Years, Months and Days
26 Binary Equivalent of an Integer
27 Linear Search
28 Binary Search
29 Selection Sort
30 Greatest of two numbers
31. Sum of digits of a number
32. Reverse a number Using recursion
33. Armstrong number Program
34. ATM Transaction Program
35. Find GCD of Two Numbers
36. right rotate the elements of an array
37. frequency of each element
38. Find second smallest element in an array
39. Compute Quotient and Remainder
40. Check Alphabet or not
41. Display Alphabets (A to Z) using loop
42. Count Number of Digits
43. Display Prime Numbers Between Two Intervals
44. Display Armstrong Number Between Two Intervals
45. Print a Multi-dimensional Array
46. Concatenate Two Arrays
47. Print an Array using standard library
48. Convert String to Date
49. Round a Number to n Decimal Places
50. Program to Compare Strings Using ==
51. Program to Compare Strings Using equals()
52. Check if a string is numeric
53. Convert char to int using parseInt()
54. Simple Calculator Program
55. Calculate Average Program
56. Find Frequency of Character
57. Print a 2 D Array or Matrix
58. Ternary operator Example
59. Java Substring Example
60. Find Square root Program
61. Find Max and Min EXAMPLE
62. Random lowercase letters
63. Integer.bitCount() Example
64. Java charAt() Example
65. Java String.join() Method
66. Reverse a Sentence Using Recursion
67. Convert long type into int
68. convert int type to long
69. Remove All Whitespaces from a String
70. Convert Octal to Decimal
71. Add Two Binary Strings
72. Remove Leading Zeros
73. print Even length words
74. Find a Sublist in a List
75. Split a List into Two Halves
76. Remove a SubList from a List
77. Find Min and Max in a List
78. Traverse in a Directory.
79. Search for a File in a Directory
80. Find Current Working Directory
81. Delete a directory
82. Check if a Directory is Empty or Not
83. Find common elements in two ArrayLists
84. Add Element at First and Last Position
85. Array Copy in Java
86. Swapping Pairs of Characters
87. Make a File Read-Only
88. Left Triangle Star Pattern.
89. Right Triangle Star Pattern.
90. Left Down Triangle Star Pattern
91. Right Down Triangle Star Pattern
92. Square Hollow Pattern
93. Rhombus Pattern
94. Diamond Star Pattern
95. Triangle Star Pattern
96. Reverse Triangle Pattern
97. Mirror Image Triangle Pattern
98. Right Pascal’s Triangle
99. Zero-One Triangle Pattern
100. Butterfly Star Pattern

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy