Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
The free newString() takes string objects strA and strB as arguments. For its action, newString() compares the string by using < and returns the concatenation
Write a Object-Oriented Triangle Program.Write a program that reads three real numbers for the three sides of a triangle.
Create a recursive function that accepts an integer and returns its reverse.
Write a program, use class to create many fields: Name,DOB,Address,Class,Mark,Average mark.
Write function to count the number of sentences entered into a string class. Assume a sentence ends in either a period, question mark or exclamation mark.
You are going to write a program to multiply two matrices.
Give the line number containing the constructor that is executed in each of the following declarations
Example defined a class personType to store the name of a person. The member functions that we included merely print the name and set the name of a person
Buffer-overflow is a common computer security concern. Write a simple program, in C, C++, and Java, to declare a simple one-dimensional array
Create a C function that includes the following sequence of statements:
Design a state diagram to recognize one form of the comments of the C-based programming languages, those that begin with /* and end with */.
Create a program that declares a vector of real numbers and input values until a 0 is entered. Add the values to the vector by using push_back()
Write the definition of the function setZero that initializes any one-dimensional array of type int to 0.
Create a procedural C++ program that calculates and displays the mortgage payment amount that will display mortgage amount, the term of the mortgage
What is so special about OOP? Why is it so widely used nowadays? What do you gain and what do you lose when using OOP?
Design a While Loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product
C program that creates three pthreads, each of which executes a different slave process.
uppose hat intArray is an array of integers, and length specifies the number of elements in intArray. Also suppose that low and high are two integers
Thread Synchronization.C program that runs under cygwin which again declares three pthreads. The main program prompts the user for the values x, y, z
Suppose an exception, class myException, is defined as follows:
Create a method called check Value that will meet the following criteria:
As a part time student and a part time worker, you earn $4.50 an hour. Your parents will buy you a used car, but you must pay for the gas.
Write a C++ or Java program that reads from one file and writes to another, in both Windows and Linux operating systems.
Write a C program that prompts user for two integers and then prints the sum of the wo numbers.
Write a function that accepts a score for a driver's license facility, an int or a float, and returns a letter.