Area of Rectangle
Given an MxN matrix filled with
The first line of input will be containing two space-separated integers, denoting M and N.
The next M lines will contain N space-separated integers, denoting the elements of the matrix.
The output should be a single line containing the area of the maximum rectangle.
For example, if the given M, N and elements of matrix are as the following
4 5
X O X O O
X O X X X
X X X X X
X O O X O
The matrix from indices (1, 2) to (2, 4) has the maximum rectangle with
X. So the output should be the area of the maximum rectangle with X, which is 6.
Sample Input 1
4 5
X O X O O
X O X X X
X X X X X
X O O X O
Sample Output 1
6
Sample Input 2
3 3
O X X
O X X
O O O
Sample Output 2
4
Number to English Words
Write a program to convert a non-negative integer
The input will be a single line containing an integer
The output should be a single line containing the representation of the English words of number
For example, if the given number is 123, your code should print the English words representation, which is
One Hundred Twenty Three
Sample Input 1
123
Sample Output 1
One Hundred Twenty Three
Sample Input 2
10005
Sample Output 2
Ten Thousand Five
Sample Input 3
1234567891
Sample Output 3
One Billion Two Hundred Thirty Four Million Five Hundred Sixty Seven Thousand Eight Hundred Ninety One
Magazine. Ai to banking
In the discussion forum titled “Critical Reader”, answer the following questions about each of the magazine covers you chose:
5. What could be changed on this magazine cover to appeal to a different demographic?
6. Any thoughts on the magazine covers?
Link
https://www-businessinsider-com.cdn.ampproject.org/v/s/www.businessinsider.com/ai-in-banking-report?amp&usqp=mq331AQTKAFQApgByIm0zqHYlsG_AbABIA%3D%3D&_js_v=a6&_gsa=1#referrer=https://www.google.com&csi=0
magazine Ai to banking
In the discussion forum titled “Critical Reader”, answer the following questions about each of the magazine covers you chose:
1. What magazine did you chose?
2. How does the magazine portray the person/activity on the cover?
3. What is the intended demographic of this magazine (i.e. Who is the intended audience?)
4. How do you know?
What is the output of the following Java code?
count = 1;
y = 100;
while (count < 100)
{
y = y - 1;
count++;
}
System.out.println("y = " + y + " and count = " + count);
Design a class template with overloaded operator / to perform a = b / c.
Two point lies on plane each point has two axis x and y. write a function having point return type to calculate mid-point of two points. Hint class point, data members x, y, return object. In c++
(Reusability using inheritance)
The postage for ordinary post is Rs. 2.00 for the first 15 grams and Rs. 1.00 for each additional 10 grams. Write a C++ program to calculate the charge of postage for a post weighting N grams. Read the weights of N packets and display the total amount of postage using multiple inheritance.
* Base class-1: Member variables are name, source and destination.
* Base class-2: Member variables are no. of packets and weight.
* Derived class: Member functions display(), displays the name, source, destination, total weight and total amount.
http://prnt.sc/130efe5
Do you agree to the assertion that, the Fourth Industrial Revolution (4IR) technologies will take over almost all jobs in the world? Your position should be justified with plausible reasons.