Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Create a function whose inputs are 3 strings. Your function will return a string which is the concatenation of the three strings. (For example:

c++

image text in transcribed

Create a function whose inputs are 3 strings. Your function will return a string which is the concatenation of the three strings. (For example: the concatenation of the strings "abc", "def". and "ghi" is "abcdefghi".) Create a function called round, which rounds a double to the nearest integer. The function returns this integer. Create a function whose input is a string. Your function will create a new string from tile old one by changing all lower coos letters to upper case letters and vice versa. It leaves all other characters unchanged. Your function returns this string. Create a boolean function which can tell if a user has created a proper password. You consider a proper password to be between 8 and 16 characters long, contains at least one number, at least one lows case letter, at least one upper case letter, and no special characters. Create a function whose input is 2 strings (representing an existing filename and a new filename respectively). Your function will create the new file which is an exact replica of the existing file. Create a function whose inputs are an array of doubles and an integer representing the size of the array. The function returns the product of the entries in the array. Create a single function which "returns" both the average of 2 integer inputs and the product of the inputs. Create function declaration statements for the following situations: A function named calc which has 3 inputs: 2 doubles and an int, and 3 "outputs": one double and 2 ints. A function whose input is an of stream and has no return value. A function whose inputs are a character array of variable length and its size and whose return value is a string. Create a class definition representing an equation of a line y = mx + b (the variables m and b are what define the line). Constructors: y = 0 for 0 parameters, y = b for one parameter, y = mx + b for 2 parameters. Functions: slope() (returns slope of line), int() (returns y-int of line), xint() (returns x-int), at(x) (calculates y value at a specific x value), on(x, y) (returns true if (x, y) on the line, false otherwise), par(k) (returns a line parallel to your line with y-int k), perp(k) (returns a line perpendicular to your line with y-int k). Create the class definition for this class. Create the constructors and functions described above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

6. Effectively perform the managers role in career management.

Answered: 1 week ago

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago