1,474 Answered Questions for the topic computer programming
Computer Programming Java
09/30/22
Methods with loops are destroying my brain, help!
Define the method printValues() that takes two integer parameters and outputs all integers starting with the first and ending with the second parameter in reverse order, each followed by a newline....
more
09/26/22
general coding question
What is the difference between int[] and int[][] when using an array in java?thanks
09/25/22
Help needed with understanding a problem
Given int[][] myVals ={{2, 4, 6, 8}, {20, 40, 60, 80}};Using the above 2d vector, what is the value of myVals[1][2]?The answer is 60. Can someone explain to me why?Thanks
Computer Programming Statistics
09/23/22
How can i pay for the lesson i had from Steve P.
Computer Programming C++
09/21/22
could not work out this problem
A user is Asked to guess a random number (0-999) generated by the computer at the beginning of the program if the users guess is too high or too low, she/he will get feedback from the computer. the...
more
09/16/22
Write a program that prompts the user for the election results, and then displays output in the given example:
The results of a primary election between two candidates in three states are: Awbrey MartinezNew York 314159 271860New Jersey 89008 ...
more
09/14/22
When making reports, why is it advantageous to use R Markdown than using R script?
looking for someone to help me with this. thanksaLSO in the R studio interface, what information is shown in the Git tab section? does this mean the staging button, the commit, pushing, and pulling...
more
09/10/22
Total Possible Combinations Of Mostly Unique Sets
Given X sets of N numbers if at least one number of each set must be unique what is the total number of possible of combinations? First set starts at 1, each sequential number is multiplied by 2...
more
Computer Programming
09/08/22
Reading multiple XML tags with identical field tag titles
Brand new at trying to program XML. I am trying to program an XML file for one piece of software that has to read another XML across my network. The data that is being "read" is sports scores. I...
more
09/07/22
Need help with coding
We need to create a java program with the name “TheDotProduct2D.java”. This program will transpose a two-dimensional vector (array) using nested loops. Once transpose has occurred, the original...
more
09/05/22
How to become a professional writer
To become a professional writer you must have many qualities. A good writer is one whose words are easily understood by the people.How to Become a Writer: 7 Practical Steps
Create a solid writing...
more
Computer Programming Computer Science
08/24/22
Help with Unix Lab - AWK
Write a script called labscript3.awk that will print out all orders shipped in 2014. Print out region, item type and total profit. At the end, it should print out the average total profit (for...
more
Computer Programming Computer Science
08/09/22
How do I modify this c code so there are no race conditions and speed up the process by making a local variable
07/31/22
Your program must define and call the following function. The function should return true if the input year is a leap year and false otherwise. (Java)
A common year in the modern Gregorian Calendar consists of 365 days. In reality, Earth takes longer to rotate around the sun. To account for the difference in time, every 4 years, a leap year takes...
more
07/28/22
C++ coding for BMI Calculator
can anyone fix this?...im having some error in this c++ code.#include <iostream>#include <string>using namespace std;class Person{ public: string name; int age; float weight; float...
more
Computer Programming Computer Science
07/27/22
2. The following algorithm is a divide-and-conquer algorithm for finding the maximum value in array A[1..n].
Function maximum(x,y){ return maximum in A[x..y]}1. if y - x £ 1 then return (max(A[x],A[y]))2. else3. max1 <--- maximum(x, [(x + y) / 2]...
more
Computer Programming
07/26/22
Discord bot python
Create a python program to connect other discord bot to your own discord bot. Example: the discord bot you want to connect to your own discord bot is a coursehero bot that gives answer to you if...
more
07/23/22
Programming Python Question
Write a program that takes the NAS website url: http://www.nasonline.org, downloads the HTML document, and decodes it into a string. Create a list of the topics under review which...
more
07/20/22
Write a Program in C++ that calculates the amount of paint needed to paint the walls of a room?
A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that one gallon of paint can paint 120 square feet.Write a program that prompts the user to input (in...
more
Computer Programming
07/02/22
flowgorithm chart for input 1 2 3 and print 1st 2nd 3rd
I need to create a flowgorithm chart for user to input a number 1 2 or 3 and then the number prints 1st 2nd or 3rd (the 2 letter ending) How n the heck can i do this????
Computer Programming
06/29/22
i have a question assembly language
Write a program by assembly language let user input an array of data and sort thedata by ascending order. Print the result.Data sorting algorithmHOw many elements in array of data?size 9Please...
more
Computer Programming Computer Science
06/28/22
Counted Loops In Python for this Scenerio
Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the...
more
Computer Programming
06/27/22
Using Counted loops with list for this scenario
Suppose there is an island with two rabbits (male and female). Every 30 days, the population of rabbits doubles. Write a program that has the user input the number of days and then calculate the...
more
Computer Programming
06/26/22
I cannot figure out FLOWGORITHM charts PLEASE HELP
I am trying to build a flowgorithm chart for the following and I keep getting the same answer for the If statement, therefore if I answer the question yes or no it gives me the same answer. I am...
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.