Skip to content

Commit 08e19f6

Browse files
committed
Update README.md
1 parent cff499d commit 08e19f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ previous numbers, i.e., `T(n)=T(n-1)+T(n-2)+T(n-3), T(1)=T(2)=1, and T(3)=2`). [
211211
* Define a package ‘Package1’ with the class ‘NumberManipulation’ which contains an integer array (size 9) as its instance variable and two methods `extractDigits( )` and `findLastDigit( )`. The `extractDigits( )` method must take an integer number as argument and extract the individual digits of the number and store them in the 9-element integer array. The method `findLastDigit( )` should find out the 10th digit using the above formula and return it. [NumberManipulation.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/FAT-Practice/src/Package1/NumberManipulation.java)
212212
* Define a main class outside of the package created above and read the 9-digit number as a String. Throw a user defined exception "InvalidInputException" if the length of the input String is not exactly 9 digits and prompt the user to enter the input again. If valid, convert the input into integer and pass it to the method `extractDigits( )` and also invoke `findLastDigit( )` method which would return the last digit. If the last digit is 10, append ‘X’ to the original string else append the digit itself’ and display the ISBN number. [ISBN.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/FAT-Practice/src/ISBN.java)
213213
214-
19. VIT honors its employees with 100% attendance in an academic year with a certificate of appreciation. Assume there are 2000 employees. Create an array to store their attendance percentage. The array can be populated with random numbers. Create two threads so that thread1 determines the total count of employees eligible for certificate in the first half of the array and thread2 in second half of the array. The main( ) has to wait till both the threads complete their task and arrive at a final count indicating the total number of employees eligible for the certificate of appreciation.
214+
19. VIT honors its employees with 100% attendance in an academic year with a certificate of appreciation. Assume there are 2000 employees. Create an array to store their attendance percentage. The array can be populated with random numbers. Create two threads so that thread1 determines the total count of employees eligible for certificate in the first half of the array and thread2 in second half of the array. The `main( )` has to wait till both the threads complete their task and arrive at a final count indicating the total number of employees eligible for the certificate of appreciation. [VIThonors.java](https://github.com/jacobjohn2016/Java-Programming/blob/master/FAT-Practice/src/VITHonors.java)
215215
216216
## Contributions
217217
* Initial Author - [jacobjohn2016](github.com/jacobjohn2016)

0 commit comments

Comments
 (0)