Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program that accepts a string as an input and perform following –

Write a function that accepts a string as an argument and display the reverse of that string and return that string.

Write another function that accepts a string as its argument and check whether the string is palindrome or not.


Develop a C++ program with a class named as "area" to find the area of the room and inherit this property into another class named as "volume" to find out the volume of the same room and display both the results

Draw a flow chart which receives three numbers, all real numbers, and determines whether the second one lies strictly between the first and third.


◦ Define an enumeration type, TriangleType, that has the values scalene, isosceles , equilateral, and notriangle.



◦ Write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle. The function should return the type of the triangle. (Note: In a triangle, the sum of the lengths of any two sides is greater than the length of the third side.)



◦ Write a program that prompts the user to input the length of the sides of a triangle and outputs the type of the triangle.

Write and test the function that calculate the are of circle returns the area of ‘a’ and


the circumference c of a circle with given radius r ?



Write c++ program that find the x raised to the power n use the function concept ,


where n can be any integer. Use the algorithm that would compute x 20 by multiplying


1 by x 20 times

Develop a C++ program to perform constructor overloading upon default, parameterized and copy constructors in a class named "Rectangle" and include member function for calculating area and perimeter of a rectangle.

develop a c++ program to create a cake class. include two public fields that contain the price of the cake and the calorie count of the cake. write a main () function that declares a cake object. prompt the user for field values. print the values, and then display the cost per calorie.

At a particular point in a structural member a two dimensional stress system exists where sigma x=60N/mm^2 sigma y=-40N/mm^2 and shear stress (xy) =50N/mm^2 if young's modulus =200000N/mm^2 and poisson's ratio =0.3 calculate the direct strain in the x and y directions and the shear strain at the point.


Summary: Given integer values for red, green, and blue, subtract the gray from each value. 

Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray). 

Given values for red, green, and blue, remove the gray part.

Ex: If the input is: 

130 50 130

the output is: 

80 0 80

Find the smallest value, and then subtract it from all three values, thus removing the gray. 

Note: This page converts rgb values into colors.



LATEST TUTORIALS
APPROVED BY CLIENTS