155 Answered Questions for the topic Coding


How can I add a clickable link to this 3D floating box in html/css?

On this 3d box i made: https://www.lifetimereserve.co/splash/I want to the be able to click the red text that says "lifetime" that is on the front face of the spinning cube. When I add the link to... more

program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3

Write a C++ program that counts from 1 through 100, and prints “D3” if the number is evenly divisible by 3, “D5” if it’s evenly divisible by 5, “D3&5” if it’s even divisible by three and five,... more


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

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++


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++


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

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

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


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


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

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


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


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

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

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

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


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


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


Solve using R Script to compute a 90% confidence interval for the difference between the average running times of films 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 films produced by two motion-picture companies.There are 2 companies, A and... more


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


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


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): )

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.


Find an Online Tutor Now

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