129 Answered Questions for the topic Coding

19d

#### Please help with Java code

How can I define a for loop for the following output:1+2 = 32+3 = 54+5 = 98+9 = 1716+17 = 3332+33 = 6564+65 = 129any help would be very appreciated

27d

#### Next Fit Algorithm Help

def NextFit():
boxes = readCSV()
num_of_boxes = len(boxes)
bin_area = 40
n_bin = 0
area_remaining_in_bins = []
lists = []
for x in range(num_of_boxes):
...
more

Coding C++

09/24/21

#### Help with do while loop

generate a random number between 5 and 250. This will be the number of values in the third set. Display a label such as "3rd set of random numbers" and the number of values in the set.Using a do...
more

Coding C++

09/24/21

#### How do I make this while loop display 7 integers per line

const double MAXIMUM2 = 50;
i = 0;
while (i < MAXIMUM2)
{
RandNum = rand();
cout << RandNum << ' ';
i++;
}
{
cout << endl <<...
more

#### Need help with coding...

How do I create a code in Matlab to get the answer to this question?Two boats start together and race across a 60-km-wide lake and back。Boat A goes across at 60 km / h and returns at 60 km / h。Boat...
more

#### Google collaboratory assignment. Python coding. PlZ HELP

Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use...
more

#### Coding assignement help? Need assistance PLZ

Create a ColabTurtle program (within one code block) that creates a Turtle that will draw based on the commands you give it. The program should contain at least 200 lines of commands. You must use...
more

08/15/21

#### need any help plz!

Create 2 int variables, return the statement “There is one negative and onepositive number” if one is negative and one is positive, return thestatement “One of the integers is positive” if one of...
more

08/10/21

#### Google collab programming python

Can anyone help me out with this?Use Google Collab and create a collab notebook named "PythonActivity2"For this assignment please use your lecture and the Google Collab tutorial to help you...
more

08/02/21

#### Java programming finding radius of circle

Create a Java function which calculates the radius of a circle: 1. The function should take no arguments. 2. Ask the user to provide the area value of the circle. 3. Calculate the radius based on...
more

07/23/21

#### Excel: I need to take given data and sort between f, d, or Both. Then I need to separate the data once determined by f or d pounds

So, imagine there is an excel sheet with a column full of f or d values, another with random minute values, and 5 different zone columns with a number in only one of these per row(These 5 columns...
more

07/13/21

#### Need help trying with nested list problem

HI! I have a list of lists, and within the nested lists are tuples (representative of (x,y) coordinates). I want the nested lists to represent a bin.list_of_list = [[(2,1),(4,2),(3,1)],...
more

07/06/21

#### Python: First Fit Algorithm

I'm trying to create a First Fit Algorithm. The approach I'm taking is creating a list of empty lists, which are representative of the bins, where they will then be filled by certain area values...
more

Coding Programming

06/28/21

#### LAB: Warm up: Variables, input, and type conversion. I cannot solve this LAB can someone please help me

(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a...
more

05/24/21

#### Java code needed

Java code needed! someone please help me with this code!Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string....
more

05/18/21

#### need help with python project

this is all my professor gave me and I don't know what to do Write a class called Counter. The class has the variables:
self.count - Keeps track of the current count.
self.initial_count -...
more

05/14/21

#### Recursion and Stack Overflow Question

Recursion uses something called the “call stack” where recursive calls to functions are stacked. Explain this using a specific example. When might there be a stack overflow?

Coding Python

05/10/21

#### Python "Mad Libs "

create "Mad Libs" with Python.First, you must find out the age of the user.If the user is less than 6, they cannot play.Based on their age, they will play one of these 3 types of Mad Libs:age 6-12...
more

04/25/21

#### Using R script functions generate random samples and calculate sample means. Be sure to solve all 3 parts of this problem.

Please show the R script coding/steps to solve this. Please do all 3 parts of this question!!! Thanks in advance!!! :)Assume that we have a normal population with a mean of 10 and a variance of 22,...
more

04/24/21

#### Solve using R Script to compute a 90% conﬁdence interval for the difference between the average running times of ﬁlms produced by the two companies

Please solve using R Script and show all coding/steps. Thanks in advance!The following data represent the running times of ﬁlms produced by two motion-picture companies.There are 2 companies, A and...
more

04/24/21

#### Using R Script please show the coding/steps to find the 95% confidence interval for the mean change in percent return to investors.

Thanks in advance!!! Please show all work/ coding in R Script, so I can try to understand how to solve problems like this later on.Fortune magazine (March 1997) reported the total returns to...
more

Coding Python

04/24/21

#### How Can I Add a Receipt?

Hello I'm working on an assignment and I want to figure out how I would be able to save which items the user chooses and how many times he chooses that item so I can form a receipt. This is what I...
more

04/19/21

#### Computer Science I- Programming

I need help to prompt the user to enter a filename in write mode using this input(Enter an output filename (or press enter to quit): )

Coding Python

04/11/21

#### Optimize my code by converting Recursion to Iteration or any other method

Question: Given the graph where vertices represent worksites and edges represent pairs of sites that must be able to communicate securely. what are the fewest worksites that can have the...
more

Coding Python

04/07/21

#### creating a student and grade database in python

I have an project to make a student and grade data base that you can,add students to: enter name , age and addresssearch for students: by nameadd assignments; add the name of the assignment and it...
more

## Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.

Most questions answered within 4 hours.

#### OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.