Skip to content

Commit ebd8d2f

Browse files
committed
new
1 parent 4e6466d commit ebd8d2f

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

src/com/sbiswas001/twelveproject/AlphabeticalSentence.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private void input() {
4545
*/
4646
private void compute(String[] a) {
4747
String temp;
48+
//Bubble sort technique
4849
for (int i = 0; i < a.length; i++) {
4950
for (int j = i + 1; j < a.length; j++) {
5051
if (a[i].toUpperCase().compareTo(a[j].toUpperCase())>0) {

src/com/sbiswas001/twelveproject/AscendingOrder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
/**
66
* This class inputs an array of integers
77
* and sorts them in ascending order.
8+
* @author Sayan Biswas
9+
* @version 22.04.2022
810
*/
911
public class AscendingOrder {
1012

src/com/sbiswas001/twelveproject/LinearSearch.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* This class checks if a term is in an array.
77
* If found it displays appropriate message along
88
* with index number of the term.
9+
* @author Sayan Biswas
10+
* @version 20.04.2022
911
*/
1012
public class LinearSearch {
1113

src/com/sbiswas001/twelveproject/Rectangle.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* This class asks user to enter length and breadth
77
* of a rectangle and displays a menu asking users to choose
88
* among calculating perimeter, area or length of diagonal.
9+
* @author Sayan Biswas
10+
* @version 22.04.2022
911
*/
1012
public class Rectangle {
1113

src/com/sbiswas001/twelveproject/WordCounter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
/**
77
* This class returns the number of words in a sentence.
88
* Words are separated by ' ' and ends with '.', '?' or '!'.
9+
* @author Sayan Biswas
10+
* @version 21.04.2022
911
*/
1012
public class WordCounter {
1113

0 commit comments

Comments
 (0)