Two friends Jameel and Uday went to Games Zone in shopping mall. They have 15 games
in their hand in random order. They have given 10 seconds to find the game in the given
list. Write a program to search a game in the given list using recursion method.
A schoolboy named ‘Jala kondapathi’ was living in a small village. But his full name is Jala
Kondapathi Rao in the registered certificates. He has joined the college after a school in a
city. His friends are called his name as “Jala Pathi Rao”. But he likes to call “Pathi”.
Write a java program to read name ‘Jala Kondapathi’ initially. Then modify the names as
per the sequence given above. Use StringBuffer Class methods to do changes in the name
Create a function that receives two arguments namely (age, name, gender)
return age, name, then create an if statement outside to check if the user is
above 18 years …. Display “Hi Meyer (Gender) here “F or M”, you are above
18,” else return false
o Your program should prompt a user to enter age, name and gender.
o Age should be declared as integer/number, name and gender should
be a string. Should accept gender as a full string “Female or Male”
then display only letter F or M.
Create an arrow function that receives three arguments (num1 , num2 ,
num3 ) o Calculate total and return sum, display on a console.
Create an array that receives [ name, surname, gender, age]
o Prompt user to enter those variables.
o Display list of users
Headings
• Name | Surname | Gender | Age
o Make use of For loop to run prompt and display your array.
Abhay is playing a shooting game. There are n balloon arranged in a row. Each balloon has a number written on it and Abhay can burst balloons from beginning or end. Abhay is really fond of number k and wants to make the sum of all the balloons remaining equal to k. For busting 1 balloon 1 unit of energy is spent by Abhay
Abhay is playing a shooting game. There are n balloon arranged in a row. Each balloon has a number written on it and Abhay can burst balloons from beginning or end. Abhay is really fond of number k and wants to make the sum of all the balloons remaining equal to k. For busting 1 balloon 1 unit of energy is spent by Abhay. He wants to find the number of ways in which he can make the sum of balloons equal to k. But he is not willing to spend a lot of energy. So you also have to tell the minimum energy that he has to spend to make the sum equal to k
Josh is conducting an event at every weekend. He will distribute the cold drink and snacks to participants. At end of each event, he will check the event’s outcome as integer i.e., 0=bad, 1=good, or 2=great.
• An event is Good (1) if both cold drink and snacks are at least 10 distributed to participants.
• If either cold drink or snacks is at least double the amount of another one, the event is Great (2).
• If either cold drink or snacks is less than 10 the event is always Bad (0).
Write java program to display an event result as either Great, Good or Bad.
Common Items in Three Arrays
Given three arrays
sample input 1
[1, 2, 3, 'cat']
[1, 'cat', 7, 10]
[1, 'cat', 16, 64]
sample output1
[ 1, 'cat' ]