Hit The Order Button To Order A **Custom Paper**

>> CLICK HERE TO ORDER 100% ORIGINAL PAPERS FROM AustralianExpertWriters.com <<

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…

Category:ACADEMICIAN

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
i want an easy and understandable solution and taking into all small detailsand i want the solution in java i repeat i want it in java……………………………The registration Department requires to have an application that reads from a file “Students.txt” data related to students (ID, firstName, lastName) as well as their registered courses and their correspondent grades. A sample of students’ data is shown below:201920123 Amal Saeed 4 INT100 ProgrammingI 3 C INT201 ProgrammingII 3 A INT101 Calculus 3 B INT103 IT_in_Business 3 D 202032231 Ahmad Ali 3 INT100 ProgrammingI 3 A INT201 ProgrammingII 3 B INT101 Calculus 3 B 201832231 Amira Alaa 5 INT100 ProgrammingI 3 D INT201 ProgrammingII 3 C INT101 Calculus 3 A INT103 IT_in_Business 3 F INT209 Data_Structures 3 BFor each student, the following data is saved: Student ID, first name, last name and the number of registered courses For each course of the list of registered courses, the following data is also saved: Course code, name, number of credit hours, and the grade. Note that the maximum number of courses that the student may register is six. ____________________A sample output related to the above data is shown below: Student Name: Amal Saeed Student ID: 201920123 Number of courses enrolled: 4 Course No Course Name Credits Grade INT100 ProgrammingI 3 C INT201 ProgrammingII 3 A INT101 Calculus 3 B INT103 IT_in_Business 3 DTotal number of credit hours: 12-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Student Name: Ahmad Ali Student ID: 202032231 Number of courses enrolled: 3 Course No Course Name Credits Grade INT100 ProgrammingI 3 A INT201 ProgrammingII 3 B INT101 Calculus 3 B Total number of credit hours: 9 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-Student Name: Amira Alaa Student ID: 201832231 Number of courses enrolled: 5 Course No Course Name Credits Grade INT100 ProgrammingI 3 D INT201 ProgrammingII 3 C INT101 Calculus 3 A INT103 IT_in_Business 3 F INT209 Data_Structures 3 B Total number of credit hours: 15 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*To design this application, you are required to answer the following four parts: Part A and B and C and D Part A .Design and implement the class Person that contains two data fields FirstName (String) and LastName (String). Add the following methods: 1. setName that sets Person’ data FirstName, LastName. 2. getFname that returns the FirstName of Person object. 3. getLname that returns the LastName of Person object. 4. getcopy that creates and returns the address of the object which is a copy of another Person object. 5. print to display Person data on the standard output. 6. Two constructors: one without arguments and another one with arguments.part B :Design and implement the class Course that contains three data fields courseName (String), courseNo (String), and courseCredits (int). Add the following methods:1. SetCourseInfo that sets Course’ information. 2. getCourseName that returns the courseName of Course object. 3. getCourseNo that returns the courseNo of Course object. 4. getCourseCredits that returns the courseCredits of Course object. 5. setCourseCredits that initializes the member variable courseCredits. 6. setCourseName that initializes the member variable courseName of Course object. 7. CopyCourseInfo that copies one Course object into another Course object. 8. Print to display Course info on the standard output. 9. Two constructors: one without arguments and another one with arguments.part C Using the class Course (part B), design and implement the class Student as a subclass of Person (part A) that contains four data fields: studentID (String), numberOfCourses (int), coursesEnrolled (array of Course to store the enrolled courses) and courseGrades (array of char to store the course grades). Add the following methods:1. setInfo that sets student’ information. 2. setStudentId that sets a student’s ID. 3. setCoursesEnrolled that sets the courses enrolled and the courses grades. 4. setNumberOfCourses that sets the number of courses taken. 5. getHoursEnrolled that calculates and returns the total credit hours in which a student is enrolled. 6. getGrade that returns a specific course grade. 7. getCourse that returns a copy of a specific course taken. 8. getNumberOfCourses that returns the number of courses taken. 9. getStudentId that returns a student’s ID. 10. print that prints a student’s grade report. 11. One constructor without arguments.Part DWrite a test program that creates an array ClassStudent of 20 Student (part C). Write the code of the following methods:1. readData that reads up to 20 students’ data from an input file “Students.txt”. 2. printData (in iterative way) that displays the content of ClassStudent. 3. RecprintData (in recursive way) that displays the content of ClassStudent. 4. retrieveStudent (in iterative way) that searches for one Student in ClassStudent. 5. RecretrieveStudent (in recursive way) that searches for one Student in ClassStudent. 6. Test your methods.don’t forget to do these method as they are wrote to do it in iterative way its using for loop and the recursive way when you called the method serval times by using if else statement without the for loop just the if and else and again and again i want the solution it java
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
1. (Design/Problem Solving 1)Create an algorithm for a program that determines the state (solid, liquid, gas) of a sample of water. The program should read in atemperature value (integer) of the sample in Kelvin degrees andprovide the user the choice to convert the value into ˚C (Celsius)or ˚F (Fahrenheit). The program should then display the inputKelvin temperature, the state of the water sample (gas, liquid,solid), and the converted temperature. The program should read invalues continuously until the user wants to quit. Your algorithmshould take a top down approach whereby you formulate a highlevel algorithm, and then take each step in the high-level algorithmand break it down into a low-level algorithm (where the necessarysub-step is formulated).One thing to focus on in your design is trying to maximize theproperty of code re-use. Specifically, try to design your modulesto work in the most general way as possible so that they can bemore easily re-used. Also, remember the principle of highcohesion and try to make sure that each module performs onlyone task (i.e. part of the solution). Don’t combine different stepsinto a single module.Conversions: -Celsius = Kelvin – 273Fahrenheit = 9 x Celsius ÷ 5 32Note that water becomes a gas at 100°C and becomes a solid at0°C. At the intervening temperatures, it will be a liquid.Your solution must be implemented using at least 4 modules. It issuggested to have at least 1 function for reading in thetemperature, 1 for reading in a character (‘c’ or ‘f’), 1 for thetemperature conversion, and 1 to display the state of the watersample. Obviously, a better design would use more modules, andif these improve the design this would be taken into considerationwhen allocating marks.When considering your solution, ask yourself “is temperatureconversion dependent on the state or vice versa?” That is, if thewater is in liquid state the temperature could be the same nomatter what scale it is represented as (Celsius, Fahrenheit, orKelvin). Such considerations can greatly simplify your solution,particularly given that temperature was input as Kelvin.An example run of this program should look something like thefollowing: -Welcome to the temperature conversion program.Please enter a the sample temperature in Degrees Kelvin:> 345Do you wish to convert the temperature to (c) for Celsius, or (f) forFahrenheit:>cThe water is in a liquid state at 72.0 degrees celsius.Do you wish to enter another temperature? (Y for yes, N for no):>yPlease enter a the sample temperature in Degrees Kelvin:> 234ICT159 Foundations of ProgrammingDo you wish to convert the temperature to (c) for Celsius, or (f) forFahrenheit:>FThe water is in a solid state at -38.2 degrees fahrenheit.Do you wish to enter another temperature? (Y for yes, N for no):>NICT159 Foundations of Programming2. (Design/Problem Solving 2)Create a structure chart for the algorithm you have created inquestion 1. See the notes and example at the end of the tutorial forguidance in creating structure charts.3. (Programming exercise)Implement your solution from questions1 and 2 into a C program.The solution must include at least 4 functions (additional to main)and should be consistent with your algorithm and structure chart.Obviously, a better design would use more functions, and if theseimprove the design this would be taken into consideration whenallocating marks.
Write program that implements a Single link list of integers. The program basically depends on the following functionsA function that
Write program that implements a Single link list of integers. The program basically depends on the following functionsA function that swap two nodes  A function that merge two link list ( Concatenate one link list with other)  A function that reverse a link list  A function that finds whether two link lists are equal or not. ( compare one link list node with other link list node)If you take code from online source please cite that particular source in your assignment. Make manual class of link list Do Not use the build in library.
PROGRAMMING LANGUAGE: C SUBJECT: DATA STRUCTURES AND ALGORITHMSQUESTION: I am pasting my C code its all right but i want to
PROGRAMMING LANGUAGE: C SUBJECT: DATA STRUCTURES AND ALGORITHMSQUESTION: I am pasting my C code its all right but i want to add one more function in it void swapNodes(); // used to swap the 2 nodes in a linked list.Kindly refer the placed code and make a swapNode() function in it SOURCE CODE:#include #include#include#includeusing namespace std;class Node{public: int data; Node* next; Node() { data = 0; next = NULL; } Node(int d) { data = d; } ~Node() { } void display() { cout << data <display(); t = t->next; } cout <data = v; t->next = NULL; if (head == NULL) { head = t; } else { Node* temp = head; t->next = temp; head = t; } } /* Function to reverse the linked list */ void reverse() { // Initialize current, previous and // next pointers Node* current = head; Node* prev = NULL, * next = NULL; while (current != NULL) { // Store next next = current->next; // Reverse current node’s pointer current->next = prev; // Move pointers one position ahead. prev = current; current = next; } head = prev; }}; linkedlist concatenate(linkedlist s1, linkedlist s2){ linkedlist s3; // insert string 1 elements Node* t = s1.head; while (t != NULL) { s3.insert(t->data); t = t->next; } // insert string 2 elements t = s2.head; while (t != NULL) { s3.insert(t->data); t = t->next; } return s3;}int compare(linkedlist s1, linkedlist s2){ Node* t1 = s1.head; Node* t2 = s2.head; while (t1 != NULL

Order from Australian Expert Writers
Best Australian Academic Writers

QUALITY: 100% ORIGINAL PAPERNO PLAGIARISM – CUSTOM PAPER

READ ALSO  Estimate the heat duty for a steady-state reaction with liquid feed (100 mol/h) and liquid products.