The cell is the smallest unit in a spreadsheet
Answer:
please sulto garera kichnu hola
Answer:
Here is the C++ program
#include <iostream>
using namespace std;
int main(){
double tonne = 2205;
double container_capacity;
cout << "Enter amount of wheat in pounds that a contained can hold: ";
cin >> container_capacity;
cout << "Number of containers needed to store one metric ton of wheat: " << tonne / container_capacity ; }
Explanation:
- In the body of main function, the first statement declares a double type variable tonne and assigns it a value of 2205 as it is given in the question that one metric ton is equal to 2205 pounds approx. Metric ton is also called tonne that's why i used tonne variable name in the program.
- Next statement declares the variable container_capacity which stores the amount of wheat a container can hold.
- Next the program prompts the user to enter amount of wheat that a container can hold.
- Next statement stores that input value (amount of wheat that container can hold).
- Last statement calculates and outputs the no. of containers required to store a tonne of wheat.
- The formula divides the value of one tonne i.e. 2205 by the capacity of the container to get no. of containers required to store one tonne of wheat.
- Suppose the container_capacity= 500
- So number of containers needed to store one metric ton of wheat is
tonne / container_capacity = 2205/500 = 4.41
Answer:
int* calculate(int a,int b,int c){
int result[] = {0,0};
int sum = a+b+c;
int product = a*b*c;
result[0] = sum;
result[1] = product;
return result;
}
Explanation:
The function is a block of the statement which performs the special task.
The function can return one integer, not more than one integer.
If we want to return multiple values then, we can use array.
we store the result in the array and return that array to the main function.
This is the only possible way to return multiple values.
So, define the function with return type array and declare the array with zero value.
Then, calculate the values and store in the variable after that, assign to the array.
Finally, return that array.
<span>So if some access your computer and erased some data without your permission or knowing then this threat is called as security threat. So you should have these stand alone systems with username and password concept that would protect your sensitive and private data and have the control over your computer.</span>