1,502 Answered Questions for the topic computer programming

Computer Programming C++ Computer Science Programming

07/25/21

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

07/24/21

Sir,Kindly slove the link question.It will be great help.

https://8dfd4c4f-a-686c9e04-s-sites.googlegroups.com/a/northsouth.edu/cse225/Lab06.pdf?attachauth=ANoY7coezo28kRJ5nopnC_ao8Bb_C4pTnYqbj_JkfVddxULhOkBr_QEtHu74gh3YLC_zUfsev9YfCu-iPYD__ALnh4qwMUTUqFv... more
Computer Programming Computer Science Linux

07/22/21

NEED HELP ASAP!!!

using linux using bash script (#!/bin/bash) How to prompt the user to enter the age. If the age is greater than 18, then print you are eligible to vote else print you are not eligible to vote.
Computer Programming Computer Science Linux

07/22/21

NEED HELP ASAP! How to print numbers from 1 to 100 in decreasing order using for loop and while loop.

Using Linux Using bash script
Computer Programming Java Programming Javascript

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
Computer Programming Java Programming Javascript

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
Computer Programming Java Computer Science 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
Computer Programming Computer Java Computer Science

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
Computer Programming Computer Java Javascript

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

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

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

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 Java Computer Science

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
Computer Programming Java Computer Science

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
Computer Programming Java Programming Javascript

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
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/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

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.