Create an algorithm for this problem.(5 points)Create the pseudocode for this problem. (5 points) Create the flowchart for this problem (5 points)Code the solution for this problem
•You must have a method called happyVerse and this method must include the print out statements for 1 verse of your song(2 points)•Your happyVerse must take in 2 arguments (set up 2 parameters to accept the action and sound that will be passed in from the main method)(3points)•Your main method must call the happyVerse method 3 times:(3points)
oAction: “clap your hands”Sound:“clap” oAction: “stomp your feet” Sound: “stomp”oAction: “shout Hurray!’Sound: ‘hoo-ray”•Your program compiles and prints 3 verses of the “If You’re Happy and You Know It” song (2points)
The government has decided to charge 0.5% tax on every car purchased from KTA. You are to write a Java program. Your program should:
a. Request for a username and password to be inputted. Your username and password should grant access to the program if they are correctly inputted
b. Your program should have a method that calculates and displays the tax on any car purchased.
c. Your program should be able to perform “b” above at least 10 times.
d. Assuming sales have now gone up and the government has scraped the tax incentive. A tax of 25% imposed on each car sale. Modify a portion of the code to reflect the new development.
e. Explain how the Ghana Revenue Agency (GRA) can use your program to calculate tax on goods imported into the country.
Create a program that takes in a student first name and average mark obtained, the system should the group the students using the first letter in their name modulus 10 [ Remember that characters are considered as numeric values, hence ‘J’%10 is a valid calculation ]. For example if the student name is Cena, then the student belongs to group 7 because ‘C’%10 = 7 and if the name was Jack then the student belongs to group 4. The program should further use the group number to get the group lecturer and class date as follows: [Hint: If the result is 0 then the student belongs to group 10]
1.Setup of the Kafka cluster, including topic management. (20%).
2.Implementation of the client and services in the Ballerina language. (70%)
3.Quality of design and implementation. (10%)
The application should prompt the owner for a login confirmation code after their have enter the pin (this is used as a security measure kind of a two stage authentication). Once logged in system will then offer the following options to the admin, the privilege to restock/ add new items to the vending machine, change prices, Cash out certain amounts from machine, cash in certain amount, print out a summary of all items in stock, print out amount of cash in categories(How many 100s, 50s up to 5cs)and print out only items that need restocking (all items below 25 need to be restocked, hence the quantity of 25 is the re-order level) or exit, create a menu for this options.
Using a do-while loop create a program that will prompt the user for a number and then print out a list 5 odd numbers above the given number(inclusive).
Sample Run1
Enter a number: 10
Output1: 11 13 15 17 19
Sample Run2
Enter a number: 5
Output2: 5 7 9 11 13
Your task is to create a program that can achieve the above requirements when given the students surname, first name and three digit postfix through CMD arguements
a) To generate the student number it takes three letters(the first, middle and last letter) of the student’s surname and adds it to the first three letters from the first name, then finally adds a three digit postfix number.
b) To generate the email is quite easy it just takes the first letter from the first name and adds it to the surname , then it adds the @students.nust.na postfix
Your task is to create a program that can achieve the above requirements when given the students surname, first name and three digit postfix through CMD arguements