125 Answered Questions for the topic Coding

02/25/21

Redirect to other page if there are no parameters in url, otherwise stay at current page.

I need to redirect from my website if there are no parameters in the url with javascript, html. (redirect with html,js)For example, if a page on my site was example.com/page and if there were... more
Coding Python

02/13/21

Divide by X HW Zyboo

Write a program using integers userNum and x as input, and output userNum divided by x four times.Ex: If the input is: 2000 2 Then the output is:1000 500 250 125Note: In Python 3, integer division... more

Matrix Multiplication in C programming

Given an n x k matrix A and an k x m matrix B, with 1≤n,m,k≤300, write a C program that computes the matrix product C=AB. All entries in matrices A and B are integers with abolute value less than... more

02/01/21

Python Code- Beginner

I need help with this sample output line and how to code it thank you and only using capital letters no lowercase and no numbers.User InputEnter your plan letter (A, B, or C):

01/23/21

I have a coding question

How do you capitalize the first character of each word in a string in an array?Explain with a simple example please?Thanks

Help me with this please

Write a static void method that will take accept an int array as a parameter and will count the number of times the numbers, 0-9, appear in the array, which can just be print statements

Python Lists (User Input with all integers)

Hello! I designed this code that takes in user input and creates a list and then outputs the sum, highest number, lowest number, and average. Right now it can only take in whole numbers but I was... more

Python While loops and For loops

Is there a way for me to use for loops with not equal marks like you can you with while loops? For example, how can I convert while num!=0 to for loopI created a code for converting binary to... more

12/24/20

firework py code

There are 3 fireworks. their weight and initial expulsion rate:1) m = 250 grams and V = 6 meters / second2) m = 400 grams and V = 8 meters / second3) m = 650 grams and V = 8 meters / secondThe... more

Roblox studio scripting and coding.

Hello to whoever is reading this, if you have used Roblox studio, not just Roblox, but Roblox studio, please answer the following question: how do you add background music for free to your Roblox... more
Coding Java Programming

12/10/20

Word Frequencies

Write a program that reads a list of words. Then, the program outputs those words and their frequencies. The input begins with an integer indicating the number of words that follow. Assume that the... more

12/10/20

Password requirements

Websites commonly require a password that satisfies several requirements. Write a program that checks if an input string satisfies the following (error message is shown for each): At least 8... more

Leap year - methods

A common year in the modern Gregorian calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year... more

ArrayLists*: Copying only negative values

A list of 6 integers is input into ArrayList listInts. Complete the program to copy only the negative integers to a new ArrayList listNegInts. Output the number of negative elements, and the... more

Password requirement

Websites commonly require a password that satisfies several requirements. Write a program that checks if an input string satisfies the following (error message is shown for each): At least 8... more

Leap year - methods

A common year in the modern Gregorian calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year... more

12/05/20

Graded Activity C++ Program

A C++ assignment Implement the GradedActivity class. Copying from the pdfs is fine. Create a new class Assignment which is derived from GradedActivity. It should have three private member ints for... more

12/05/20

C++ Grid Writer

C++: In this part of the assignment you will not need to write any code. Instead you will download a software project and submit your answers to questions about the code.The project uses a class... more

12/05/20

C++ Program: Random Number Guesser.

MUST HAVE TWO FILES Submit your RandomNumberGuesser.h and RandomNumberGuesser.cpp filesWrite a derived class of the NumberGuesser class named RandomNumberGuesser. The derived class should override... more

Can someone do me this project?-java

The project description:As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:• The Hospital has several employees and... more

Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]... more

Can someone fix my code based on my comment under this question? *java*

My code:package javaapplication45;import java.util.ArrayList;import java.util.List;import java.util.Scanner;public class JavaApplication45 {// Maain Classpublic static void main(String[]... more

Help!! How to solve these matlab problems?

Problem1:Enter the following data into the Matlab command window.A=[02: 1 4];B=[1 3; 2 6]:What is A*B? What is A.*B?What does A.^-I produce verses A^-1?Problem3:Given the matrix: M=[1 1; 1 3;]; Use... more

How to write or solve these problems in matlab?

Problem1:Enter the following variables into your command window:A=[1 2 3:];B=[1:2:3];Can you subtract A from B?Can you add A to A?Problem2: Enter the following data into the Matlab command... more

Pizzeria Program using Python and Postgresql

Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to know how much they spend each day... 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.