You must write a small application in JAVA that stores SRC candidate names and the votes they received. Your program must: 1. 2. Create an array of SRC candidate names. Populate the array with ten names. Create an array of votes. Populate the array with the number of votes for every candidate. The two arrays work in parallel. 3. 4. 5. Print the name of every candidate with his/her number of votes. Print the total number of votes casted. Add votes for a specific candidate. a.
Write a program that replaces two or more consecutive blanks in a string by a
single
blank. For example, if the input is
Grim return to the planet of apes !!
the output should be
Grim return to the planet of apes!!
Develop the internal mark calculation system based on the attendance percentage using java. Get the student name, register number,total number of according days present. Calculate attendance percentage of the students and award attendance mark based on the following condition.
Attendance percentage >=90 - 5 marks Attendance percentage >= 80 - 4 marks