Maximum Product of the Digits
Given a range represented by two positive integers L and R. Find the number lying in the range having the maximum product of the digits.
Input
The first line of input will be an integer, denoting the number of test cases T.
The next T lines will contain two space-separated integers, denoting the L and R.
Output
The output should be T lines containing the the number with the maximum product of the digits in the range L and R for each test case.
Explanation
For example, if the given T is 2, read the L and R of the first test case in the next line. If the given L and R are 1 and 10 respectively. As 9 is the number with the maximum product of digits, the output for the first test case should be 9.
If the L and R are 15 to 30 respectively. The product of the digits of number 29 is 18. As 18 is the maximum product in the range, the output should be 29.
Sample Input 1
2
1 10
15 30
Sample Output 1
9
29
Sample Input 2
4
100 200
51 62
10 30
20 80
Sample Output 2
199
59
29
79Create a class Triangle. Include overloaded functions for calculating area. Overload
assignment operator and equality operator.
Create the Person class. Create some objects of this class (by taking information from the
user). Inherit the class Person to create two classes Teacher and Student class. Maintain the
respective information in the classes and create, display and delete objects of these two
classes (Use Runtime Polymorphism).
Create a class Triangle. Include overloaded functions for calculating area. Overload
assignment operator and equality operator.
Series of Operations
Given an array
plz provide the code of this program
Write a program that reads 5 strings and print them in reverse order.
Add two polynomials
Given two polynomials A and B, write a program that adds the given two polynomials A and B.
Output format:-
For the term where power is 1 represent it as C1x instead of C1x^1.
If the degree of polynomial is zero and the constant term is also zero, then just print 0 to represent the polynomial.
For term Cix^Pi, if the coefficient of the term Ci is 1, simply print x^Pi instead of 1x^Pi.
Sample Input
5
0 -2
3 6
4 7
1 -3
2 -1
5
0 1
1 2
2 -4
3 3
4 5
Sample Output
12x^4 + 9x^3 - 5x^2 - x - 1Sample input
4
0 5
1 0
2 10
3 6
4
0 -5
1 0
2 -10
3 -6
Sample Output
0Sample Input
5
0 2
1 0
2 1
4 7
3 6
5
2 4
3 3
4 5
0 1
1 0
Sample Output
12x^4 + 9x^3 + 5x^2 + 3
As a member of the IT team, you have been asked to configure user access and prevent employees from accessing the hard drive and printer. The following day, you receive 50 emails from users complaining of broken computers since none of them can print from their computer any longer. You know this is by design and was the intent of the new system configurations, but also understand many users may have concerns with this new process. How would you go about addressing the concerns of the employees? What security issues did the previous configuration have and how would you explain this to those affected by the changes? How could this have been handled differently to make the change in processes easier for the employees to understand?
Write a VB.NET program that accepts registration number, name, gender, unit name and unit code and marks of a student for that unit. Based on the marks of the student, the program should calculate the grade and corresponding comments based on the following grading criteria. If the marks are invalid, i.e. below 0 and more than 100, the program should output an error and prompt the use to enter the marks again. If the marks are correct, the program should display the transcript of the student Use the following grading criteria for your program. Marks Grade Comments Between 70 and 100 A Excellent Between 60 and 69 B Good Between 50 and 59 C Fair Between 40 and 49 D Pass Between 0 and 39 F Fail
That accept the marks of 3 courses and accept the names of courses alongside the hours spent