1,486 Answered Questions for the topic computer programming
07/20/21
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
07/19/21
JavaScript Problem
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 of the pattern are printed...
more
07/19/21
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
07/19/21
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
Computer Programming Java
07/18/21
How to create a class in java?
Create a new file called Account.java and construct a class called Account, which models a simple bank account. It contains the following members:
Two private instance...
more
07/12/21
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
Computer Programming
07/12/21
2-D Random Walk Simulation
Run or simulate two dimensional random walk using python or any suitable language and provide a screenshot out of it if possible
Computer Programming
07/10/21
What is the difference b/w Method Overloading and Constructor overloading Explain with examples.
07/10/21
Why the output is Error : class interest is public, should be declared in a file named Interest.java?
public class Interest {public static void main(String[] args) {/* Declare the variables. */double principal; // The value of the investment.double rate; // The annual interest rate.double interest;...
more
07/09/21
I need help with this only problem
Exercise 3.3 Write a program that converts a total number of seconds to
hours, minutes, and seconds. It should (1) prompt the user for input, (2) read
an integer from the keyboard, (3) calculate...
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
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
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
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
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
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
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
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
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
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.