Answer:
Check the explanation
Explanation:
#include <bits/stdc++.h>
using namespace std;
class Rectangle{
public:
int length;
int breadth;
Rectangle(int l,int b){
length = l;
breadth = b;
}
int area(){
return length*breadth;
}
int perimeter(){
return 2*(length+breadth);
}
bool equals(Rectangle* r){
// They have the exact same length and width.
if (r->length == length && r->breadth == breadth)
return true;
// They have the same area
if (r->area() == area())
return true;
// They have the same perimeter
if (r->perimeter() == perimeter())
return true;
// They have the same shape-that is, they are similar.
if (r->length/length == r->breadth/breadth)
return true;
return false;
}
};
int main(){
Rectangle *r_1 = new Rectangle(6,3);
Rectangle *r_2 = new Rectangle(3,6);
cout << r_1->equals(r_2) << endl;
return 0;
}
All options in the Advanced tab in the Share Workbook dialog box.
- Don’t keep change history
- Show comments made by all users
- Update changes when file is saved
- Track changes for certain amount of days
- Allow changes by more than one user at a time
- Automatically update changes in certain time periods
<u>Explanation:</u>
In shared workbook in advanced tab it has following options. Based on end user selection changes are applied on shares workbook.
1. Either keep the history for certain period or don’t keep the history on shared workbook.
2. On share work Save changes on period schedule (automatically update) or just see other user changes.
3. Before changes are made for share workbook either prompt for save option or last modified saved.
4. Printer review and filter setting for personal view.
Answer:
weight = float(input("Enter your weight in pounds: "))
height = float(input("Enter your height in inches: "))
weight = weight * 0.45359237
height = height * 0.0254
bmi = weight / (height * height)
print("Your BMI is: %.4f" % bmi)
Explanation:
*The code is written in Python.
Ask the user to enter weight in pounds and height in inches
Convert the weight into kilograms and height into meters using given conversion rates
Calculate the BMI using given formula
Print the BMI
Answer:
This is a heading
Explanation:
This is a paragraph does not exist. You would simply use p for paragraph. Therefore This is a heading is the correct answer.