 Hit The Order Button To Order A **Custom Paper** 20 Nov
2020

# deatils quetions in this link: “https://www..com/tutors-problems/Java-Programming/26823346-A-food-fest-is-organised-at-the-JLN-s…

SOLUTION AT Australian Expert Writers

deatils quetions in this link: “https://www..com/tutors-problems/Java-Programming/26823346-A-food-fest-is-organised-at-the-JLN-stadium-The-stalls-from-different/”A food fest is organised at the JLN stadium. The stalls from different states and cities have been set up. To make the fest more interesting, multiple games have been arranged which can be played by the people to win the food vouchers. One such game to win the food vouchers is described below:There are N number of boxes arranged in a single queue. Each box has an integer I written on it. From the given queue, the participant has to select two contiguous subsequences A and B of the same size. The selected subsequences should be such that the summation of the product of the boxes should be maximum. The product is not calculated normally though. To make the game interesting, the first box of subsequence A is to be multiplied by the last box of subsequence B. The second box of subsequence A is to be multiplied by the second last box of subsequence B and so on. All the products thus obtained are then added together.If the participant is able to find the correct such maximum summation, he/she will win the game and will be awarded the food voucher of the same value.Note: The subsequences A and B should be disjoint.Example:Number of boxes, N = 8The order of the boxes is provided below:Subsequence ASubsequence BThe product of the subsequences will be calculated as below:P1 = 9 * 8 = 72P2 = 2 * 7 = 14P3 = 3 * 6 = 18Summation, S = P1 P2 P3 = 72 14 18 = 104This is the maximum summation possible as per the requirement for the given N boxes.Tamanna is also in the fest and wants to play this game. She needs help in winning the game and is asking for your help. Can you help her in winning the food vouchers?Input FormatThe first line of input consists of the number of boxes, N.The second line of input consists of N space-separated integers.Constraints1< N <=3000-106 <= I <=106Output FormatPrint the maximum summation of the product of the boxes in a separate line.Sample TestCase 1Input81 9 2 3 0 6 7 8Output104
i want an easy and understandable solution and taking into all small detailsand i want the solution in java i
Write thei) N=1 : 1ii) N=2 : 1iii) N=3 : 1 3iv) N=4 : 1 3v) N=8 : 1 3
Write thei) N=1 : 1ii) N=2 : 1iii) N=3 : 1 3iv) N=4 : 1 3v) N=8 : 1 3 5 7vi) N=9 : 1 3 5 7 9vii) N=10: 1 3 5 7 9 10 prolog program to read a number from the keyboard. If the number is less than 10, print only the odd numbers less than 10 to the screen. If the number is greater or equal to 10, all the odd numbers from 1 to 10 are printed together with the even numbers thereafter. Below are examples of a number is read (N) and the printed output values:viii) N=11: 1 3 5 7 9 10ix) N=12: 1 3 5 7 9 10 12x) N=15: 1 3 5 7 9 10 12 14xi) N=0 : no outputThis program requires you to use programming logic instructions that include recursive calls and if and else statements.
Using python 3 I need help displaying this code : 1. Insert your Program Comments. 2. Insert a line comment
Using python 3 I need help displaying this code : 1. Insert your Program Comments. 2. Insert a line comment to identify each step, i.e.: # Step 3. Note: Iterate a string. for letter in sentence: 3. Favorite Food program. a. Get user input for 1 favFood. b. Iterate through the letters in favFood c. print each letter on a new line. 4. Assign empty string to newString. 5. Write the code to iterate codeTip and concatenate it to newString. a. Replace each space ” ” with a hyphen “-“. b. Print newString. Note: use for loop with if…else. 6. Mystery Name Program. a. Get user input for firstName. b. Code an empty string variable newName. c. Iterate backwards through letters in firstName: add each letter to newName as you iterate; d. replace the letter if “e”, “t” or “a” with “?” (hint: use if, elif, elif, else). e. Print newName. Example Input: “Alton” Example Output: “no?l?” Note: .len() , .find() , .count() remember, index values are whole numbers. len(workingString) .find(“i”) .find(“i”, start) .find(“i”, start, end) .count(‘i”) .count(“i”, start) .count(“i”, start, end) 7. Write the code to find and print the length of topic. Assign “.find() returns the length of a string” to topic. 8. Write the code to find and print the midPt (middle) index ( /- 1) of topic. Assign “len() can take a sequence, like a string, as an argument” to topic. Use len() function. 9. Assign “Good code is commented code” to CodeTip. 10. Write the code to print index where the first instance of the word “code” starts in CodeTip. Use .find(). 11. Write the code to search for “code” in codeTip using .find() 12. Write the code to search substring with substring index, start = 13, end = last character. Save the result in codeIndex. Print index of where “code” is found or print “not found” if codeIndex == -1 13. Write the code to find and print the number of w’s, o’s and use of the word “code” in codeTip. 14. Assign “code a conditional decision like you would say it” to codeTip. 15. Write the code to count how many time the letter “i” appears in codeTip and print it with 16. Write the code to find and print the index of all the letter “i”s in codeTip. print(“codeTip:”, codeTip) Python Programming I – Honors Microsoft 40461 Note: if .find(“i”) has no match, -1 is returned. 17. Words after “G”/”g” Program. Code a program that inputs a quote (a sentence without punctuation) and prints all of the words that start with h – z. • Split the words by building a placeholder variable: word, and adding a letter each loop until a non-alpha char is encountered • If non-alpha detected (space, punctuation, digit,…) defines the end of a word • Else, check if word is greater than “g” alphabetically, print word and set word = “” (empty string) • Else set word = “” (empty string) and build the next word • Hint: use .lower() • Sample input: “Wheresoever you go, go with all your heart” — Confucius
data format: email, nameInput file: customerData.txt UserInput.txt customerData.txt
Programming Assignment Writing Servicedata format: email, nameInput file: customerData.txt UserInput.txt customerData.txt
Can someone help me with this code? I’m not sure how to complete this code base on mutual.fund.txt. There are
Can someone help me with this code? I’m not sure how to complete this code base on mutual.fund.txt. There are some error in this code but I can not fix it. How can I fix the error? Also how can I complet? ASAP?!?!?!!!!!!!!!!!!!!!CustomerInterface.javaimport java.io.*;import java.text.DecimalFormat;import java.util.Scanner;public class CustomerInterface { public static void main(String[] args) { BST
5. Write a program to create a data frame to maintain three students’ names associated with their grades in three
5. Write a program to create a data frame to maintain three students’ names associated with their grades in three courses and then add a new column named Mean to maintain the calculated mean mark per course. Display the final data frame. Name Course1 Course2 Course3 Omar 90 50 89 Ali 78 75 73 Osama 67 85 80
1. (Design/Problem Solving 1)Create an algorithm for a program that determines the state (solid, liquid, gas) of a sample of