[solved] – Question 9859
I have a template class where I instantiate templates for int, unsigned. I have declared constructors with the template type type as one of the arguments.
Now I want to include a constructor with same set of arguments but want to implenet it differently.
Eg: Constructor : radius is of type either unsigned or signed int.
template<class area, class radius>const1(radius rad1)
now I want to implement a constr
const2(int check_area){ // here the implementation will be different when the radius is of type int.}
But the problem is constructor is getting overloaded with some signature and that is not acceptable.
Is there any solution to this problem.
Thanks in advance,
-Nilesh
Expert Answer
[solved] – Question 98594
You are required to write a program, to store the 10 lab scores of 10 students. Also find the sum & average of lab scores for each student.
Expert Answer
[solved] – Question 98599
Write aC++ program which accepts an amount of money entered in Kenya shillings, if the amount is greater or equal to 1000 shs, a 5% discount is given to the customer the amount to be paid by the customer is displayed on the screen.
Expert Answer
[solved] – Question 98600
2. Given a=x5+y6/3 write a C++ program that allows user to enter the values of x and y and give output of a and b.
3. Write a Java program that computes compound interest (compound yearly) using the following formula A=p(1+r)n p is the original amount invested, r is the annual interest, n is the number of years, A is the amount at the nth year.
Expert Answer
[solved] – Question 98607
Write a switch statement to calculate annual union dues for an employee that belongs to one of 2 different classes(categories). For class-1 employees, dues are $1000 plus 2% of the salary.For class-2 employees, dues are $500 plus 1% of the salary.The default option should print an error message ‘wrong class’
Expert Answer
[solved] – Question 98614
Check to see if that user entered a letter, word or symbol instead of a number and give an appropriate error message
Expert Answer
[solved] – Question 9863
Explore the SQL and Oracle security tools and then compare them?????
Expert Answer
[solved] – Question 98680
The purpose of this question is to develop a web page for checking whether any three points (x_1,y_1), (x_2,y_2) and (x_3,y_3) in a two dimensional space (2D) are on the same line or not. In this question, you might need to search the e-library to remember how to check if any three points lie on the same line or not. You will see that there are some different techniques for solving this problem, you are required to apply only one of these techniques that use the slope in testing whether the three points lie on the same line or not.
The web page should be implemented by using HTML tags and PHP codes. The final code with 2 snapshots should be provided in your answer sheet.
Expert Answer
[solved] – Question 98699
Design and Write a C++ program which accepts an amount on money entered in $, if
the amount is greater or equals to 1000 $, a 5% discount is given to the customer. It should also display the amount the customer has to pay.
Expert Answer
[solved] – Question 98700
Given a= x 5 + y 6 /3 write a program that allow user to enter the values of x and y and give output of a and b
Expert Answer

