472 Answered Questions for the topic programming

C++. Change addToList to insert into the list in order by model

NOTE: Combined this exercise into the Exercise 1 code. No need for a separate project directory. What To Do Change the addToList to insert a new Car object in order by model. Don't worry if there... more

C++. Deleting From the List by Car Model

What to do Take your latest Car and List class code. Add functions to the List class that asks the user for a model and then deletes the first match in the list (or just assume all makes are unique... more

Help with Java Q

Write a program with twice overloaded static method called area which returns a double value. The method should be in a separate class called CalcArea. The first overload takes in two double... more

Help with Java Q

2) Write a java program which asks for 10 grades from user. Place the grades in an array called grades. Calculate the maximum , minimum and average using three static methods ... more

Please help with Java Q

1) Create an array of double type and 10 elements long for your daily expenses. Store in the first position the value 60.0 (60 dollars to start with) and prompt user for expenses to enter in the... more

C++. Collection App with Two Classes and Dynamic C- Strings

C++. Collection App with Two Classes and Dynamic C- Strings Introduction In this program, you will add another class for managing the array of items. Start by looking at the lecture on classes part... more

C++. Collection App with Two Classes and Dynamic C- Strings

Collection App with Two Classes and Dynamic C- Strings Introduction In this program, you will add another class for managing the array of items. Start by looking at the lecture on classes part II... more

07/22/21

JavaScript Question

How do I put the output on the second line?Intended output(example)Enter·the·number·up·to·which·you·would·like·to·look·for·perfect·numbers:500↵Looking·for·perfect·numbers·from·1·to·500↵... more

07/22/21

JavaScript Question

6.24 (Perfect Numbers) An integer number is said to be a perfect number if its factors, including 1 (but not the number itself), sum to the number. For example, 6 is a perfect number, because 6 = 1... more

JavaScript Problem

5-15) (Triangle Printing Program) Write an application that displays the following patterns separately, one below the other. The use should be asked to enter an integer that will determine how... more

07/20/21

JavaScript Question

(Triangle Printing Program) Write an application that displays the following patterns separately, one below the other. The use should be asked to enter an integer that will determine how many lines... more

C++. Collection App with Two Classes and Dynamic C- Strings

Introduction In this program, you will add another class for managing the array of items. Start by looking at the lecture on classes part II for advice on how to design this class. Also, we will be... more

C++: Create a Dynamic Car Class

You will be using your previous version of the Car class and modifying it to have dynamic memory. previous code:carmain3.cpp: #include <iostream>#include <cstring>#include... more
Programming Java Oop

07/18/21

How to code for creating a class?

You probably are fond of games. This quiz though is not that complicated. You are simply going to work with a point on a screen, and a circle on a screen as well. And let's consider them as the... 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

modify the code so i can submit it without plagiarism

Main.cpp #include "Unsortedtype.h" using namespace std; class StudentInfo { private: int id; std::string name; float cgpa; public: StudentInfo(); ... more

07/08/21

Java HW(Need help ASAP)

Write a program to prompt student for their name then test 1 grade, test 2 grade, test 3 grade. Calculate the average grade and print a statement such as:“Student name your grades are:Test1 = ... more

Car Class with Dynamic Memory

What To Code With your Car class from previous code: 1. Rewrite the C string members (make and model) to be dynamic C strings. Make all C strings the length of any passed in C string. NOTE: The... more

C++. Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.

Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.Ex:... more

C++. Write a function ComputeNum that takes two integer parameters and returns the first parameter minus 5 times the second parameter.

Write a function ComputeNum that takes two integer parameters and returns the first parameter minus 5 times the second parameter.Ex: ComputeNum(4, 9) returns -41.Code:#include <iostream>using... more

C++. Write a function CalculateVal that takes one integer parameter and returns the parameter plus 2.

Write a function CalculateVal that takes one integer parameter and returns the parameter plus 2.Ex: CalculateVal(3) returns 5.Code:#include <iostream>using namespace std;/* Your code goes... more

C++. Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.

Define a function RemoveUpper() that takes a string parameter and returns a string. The returned string is the parameter with all characters except the uppercase letters removed.Ex:... more

C++. Define a function ParseStr() that takes a string parameter and returns "Good" if the character at index 3 in the string parameter is a space. Otherwise, the function returns "Bad".

C++. Define a function ParseStr() that takes a string parameter and returns "Good" if the character at index 3 in the string parameter is a space. Otherwise, the function returns "Bad".Ex:... more

C++. Write a function ComputeVal that takes two integer parameters and returns the product of the two parameters minus 8. Ex: ComputeVal(5, 9) returns 37.

C++. Write a function ComputeVal that takes two integer parameters and returns the product of the two parameters minus 8.Ex: ComputeVal(5, 9) returns 37.Code:#include <iostream>using... more
Programming Python Coding

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

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.