1,486 Answered Questions for the topic computer programming
04/27/22
i got an error saying this.
main21.cpp: In function ‘int main()’:main21.cpp:49:26: error: ‘maxlength’ was not declared in this scope if(qLength>maxLength) maxlength = qLength;...
more
04/26/22
JAVA CODE NEEDS MISSING CODE
This java code below done in java swing has missing code in the TODO sections down below within the code, I need help adding these missing lines please. I have bolded them in the code:import...
more
04/26/22
Define a function OutputVal() that takes two integer parameters and outputs the product of all integers starting with the first and ending with the second parameter, followed by a newline.
Ex. if the input is 3 and 5 the output is 60 (3*4*5).
Computer Programming C Programming
04/15/22
I need help solving this question in C PROGRAM FORMAT!! THANK YOU :-)
12.11 LAB: Word frequenciesWrite 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...
more
Computer Programming C++
04/08/22
Can someone help me with this?
It is too long to explain here...so i will share a link to see where iam getting at.I already did it but i keep getting errorhttps://codeshare.io/RbrJ9W
04/08/22
NEED HELP WITH THIS
file deleteIthNode.cpp so that it finishes the implementation of the method deleteIthNode. This method deletes the ith item from a list of items. #include "structs.h"//Function to delete the ith...
more
04/08/22
How do i finish the implementation of the method insertInOrder.
This method appends the record 'newData' into the correct sorted position in the linked list. If the list is empty, make the new node the head node of the list (i.e., have the head pointer point...
more
04/03/22
Augmented Binary Search Trees
Given an unsorted set of n distinct numbers, suppose we are interested in carrying out the following two operations: • Select the element of rank k. This operation will be carried out 1 ≤ m ≤ n...
more
Computer Programming Computer Science
04/02/22
Dynamic Programming Pseudocode
Suppose you are going on a long bike ride with your e-bike. You must ride exactly n miles. You will need to stop to replace your battery along the way. The bike trail is lined with battery pick-up...
more
Computer Programming C++
04/01/22
I keep getting this error...can someone help me??
inlab17a.cpp: In function ‘int main()’:inlab17a.cpp:16:9: error: request for member ‘readFile’ in ‘store1’, which is of non-class type ‘StoreClass()’ store1.readFile("ex3_data.0"); ...
more
Computer Programming
03/29/22
Fill in the blank with a for loop to sum all the even numbers from 2 to 100: sum = 0 sum = sum + n end
03/27/22
Adjust list by normalizing
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1, or throwing...
more
03/27/22
Implement a function readEmpFromFile
Implement a function readEmpFromFile that takes a FILE * as the only argument and returns a pointer to a struct employee. This function should read the information from the file (reversing what...
more
Computer Programming
03/25/22
Add file i/o to your program
Implement a function writeEmpToFile that takes two arguments: a struct Employee pointer and a FILE *. It should write each field in order as an appropriate type. Note that you will probably want to...
more
03/23/22
Introduction to programming help (Java)
A Small supermarket employs workers who are paid every week in hourly bases according to one of the following three rates (depending on their positions). [Postion Type] [Position Name] [Hours Rate...
more
03/19/22
Write an SQL script to create a table called users in a database
Write an SQL script to create a table called users in a database, with the following fields (assume the specific database has already been accessed) a.id, which is the primary key and value is...
more
Computer Programming Computer Science
03/16/22
C++ Mirrored Matrices activity
Instructions: 1) Write a SET OF 3 OVERLOADED functions called flipMatrixHorizontal() that takes the following inputs: a) a 2-dimensional array with any number of rows and 3, 4, or 5 columns (this...
more
Computer Programming Computer Science
03/16/22
C++ Timer Class activity
1) Write a class called Timer that models a stopwatch with start, stop, and reset buttons. It has the following members: a) -int startTime; // variable tracking when the timer was started (unused...
more
03/12/22
Please help me quick
Ahmed is trying to describe an object-oriented concept to his friend. He says that the concept is kind of like how a mother bird lays eggs in a nest, safely hidden from the outside world. Which...
more
03/12/22
Which of the following statements is false?
Which of the following statements is false?1.There are both advantages and disadvantages to the increase of technology in our lives.
2.Software allows us to be more efficient.3.People can use...
more
03/12/22
Which of the following function definitions contains an error?
Which of the following function definitions contains an error?Group of answer choices1.def area(length, width):2.Def area(length, width):3.def Area(length, width):4.def area():
03/12/22
Noah is creating a startup. He uses the website Upwork to hire freelancers in India and in the Ukraine to work for him. This is an example of:
Noah is creating a startup. He uses the website Upwork to hire freelancers in India and in the Ukraine to work for him. This is an example...
more
03/12/22
Lilo wrote a small program in Python, and she’d like her family to test it out, without looking at the code. Which type of test is she performing?
Lilo wrote a small program in Python, and she’d like her family to test it out, without looking at the code. Which type of test is she performing?Group of answer choices1.black box test2.white box...
more
03/12/22
Please help quick
Julia is deciding what language she should use to write a program. She is a beginner so she would like to choose a language that is relatively simple and easy to debug. Which language should she...
more
03/12/22
Which of the following pieces of software is using artificial intelligence?
Which of the following pieces of software is using artificial intelligence?Group of answer choices1.word processing software that allows the user to type a document2.a website that learns...
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.