1,513 Answered Questions for the topic computer programming

Computer Programming C++ Computer Science Programming

07/07/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++ Computer Science Programming

07/06/21

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
Computer Programming C++

07/06/21

Slove the task 03 in c++

dynarr.h#ifndef DYNARR_H_INCLUDED#define DYNARR_H_INCLUDEDclass dynArr { private: int *data;int size;public:dynArr();dynArr(int);~dynArr();void setValue(int, int);int getValue(int); };#endif //... more
Computer Programming C++

07/06/21

Please slove it in C++.Task 02.

dynarr.h#ifndef DYNARR_H_INCLUDED#define DYNARR_H_INCLUDEDclass dynArr { private: int *data;int size;public:dynArr();dynArr(int);~dynArr();void setValue(int, int);int getValue(int); };#endif //... more
Computer Programming C++

07/06/21

Slove the problem in c++.slove task01.So that i can copy & paste

dynarr.h #ifndef DYNARR_H_INCLUDED #define DYNARR_H_INCLUDED class dynArr { private: int *data; int size; public: dynArr(); dynArr(int); ~dynArr(); void setValue(int, int); int... more
Computer Programming C++

07/04/21

slove it in c++

Using the new operator, allocate a two dimensional character array. Again the number of rows and columnsare going to be provided by the user as input. All of the rows are the same size. Take... more
Computer Programming C++

07/04/21

slove the problem in c++

Using the new operator, allocate a two dimensional character array. Again the number of rows and columnsare going to be provided by the user as input. All of the rows are the same size. Take... more
Computer Programming

07/03/21

PLEASE SOLVE THE PROBLEM IN PYTHON WITHOUT USING ANY BUILT-IN FUNCTIONS

Suppose you have been hired to develop a musical chair game. In this game there will be 7 participants and all of them will be moving clockwise around a set of 7 chairs organized in a circular... more
Computer Programming C++ Computer Science Programming

07/01/21

C++. Collection App with structs

Introduction Write in C++ at the Linux command line a collection program that keeps track of a collection of information. You can come up with your own idea of what information to store in the... more
Computer Programming C++ Computer Science Programming

07/01/21

C++. Exercise 1: Basic Car class

Exercise 1: Basic Car class Inside your 'exercise1' directory, put all required files (the carmain1.cpp, your car.cpp and car.h files).Download the carmain1.cpp file. Use this to test your class... more
Computer Programming

07/01/21

C programming question

write a program to accept any number and print cube of all numbers from 1 to n which are divisible by 3.
Computer Programming C++ Computer Science Programming

06/30/21

Write a C++ calculator program that keeps track of a subtotal like real calculators do.

Start by asking the user for an initial number. Inside a loop, asks the user for a mathematical operation and a second number. Do the operation with the first number on the second num- ber. Keep... more
Computer Programming Java Help Urgent

06/30/21

NEED HELP ASAP!

Create a program to localize medical devices in a hospital and to implement a common fingerprinting localization algorithm called the Nearest Neighbor (NN).Task: create an offline stage of 4 X 4... more
Computer Programming C++ Computer Science Programming

06/28/21

Write a C++ program that takes in a set of daily average temperatures (up to a maximum of 30).

Write a program that takes in a set of daily average temperatures (up to a maximum of 30). Please include source code.Do the following algorithm: Ask the user for a temperature If the user enters a... more
Computer Programming C++ Computer Science Programming

06/28/21

Create a C++ program that uses an array of struct Contact values.

Create a program that uses an array of struct Contact values. Please include source code.What to codeThe Contact struct is defined as follows:Contact has:• name• phoneNumber• emailA PhoneNumber... more
Computer Programming C++ Computer Science Programming

06/28/21

Write in C++ at the Linux command line a collection program that keeps track of a collection of information.

Introduction Write in C++ at the Linux command line a collection program that keeps track of a collection of information. You can come up with your own idea of what information to store in the... more
Computer Programming Java Computer Science

06/27/21

Question in java language please answer ASAP

interface IResit { int number = 3; char iChar = ‘#’;} interface IShape extends IResit { public void drawShape ( ); // this method supposed to draw shapes with interface data as... more
Computer Programming Help Urgent

06/24/21

NEED HELP ASAP!

Create tables using SLQ statements with all the constraints. Choose appropriate SQL Server data types. Insert 2 rows in each of the tables. Assume relevant value in the rows of each table. Be sure... more

06/23/21

Write a C++ program that allows a user to choose as many sides for a meal as they want (it’s an ‘all you can eat’ special!).

Assignment 2: Restaurant Choices Please include source code. Write a program that allows a user to choose as many sides for a meal as they want (it’s an ‘all you can eat’ special!). 1. Print out a... more
Computer Programming Computer Science Computer Engineering

06/22/21

for data structure and algorithms

3. Suppose you are given a data file called "f" and a queue called "Q". Each record in "f" has an "A" or "D" character. Write an algorithm that reads all the records in the file one by one. If the... 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.