An example of software is a spreadsheet :)
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int perimeter(int side1, int side2, int side3){
return side1+side2+side3;
}
struct Triangle {
int side1; int side2; int side3;
};
int main(void) {
int side1, side2, side3;
cout<<"Sides of the triangle: ";
cin>>side1>>side2>>side3;
struct Triangle T;
T.side1 = side1;
T.side2 = side2;
T.side3 = side3;
cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;
return 0;
}
Explanation:
See attachment for complete code where comments are as explanation
The answer is (a.) The amount of interest you are charged on credit card purchases
The Annual Percentage Rate or APR on your credit card is determined by the interest you made from your purchases for the whole year. APR includes other fees and additional costs.
Answer:
def volCylinder(r, h):
return 3.14 * r * r * h;
radius = float(input("Enter the radius: "))
height = float(input("Enter the height: "))
print("The volume of the cylinder is: "+ str(volCylinder(radius, height)))
Explanation:
- Inside the function, calculate the volume of the cylinder using the formula and return the result.
- Then, take inputs from the user for radius and height as float numbers
- Call the function and print the result
Numeric keypad. Alternatively referred to as the 10-key, number pad, numeric keyboard, numpad, or ten key, the numeric keypad is a 17-key keypad usually found on the far right side of a standard PC keyboard