Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function to compute sum and product
void square(int input)
{
// variable to store the square of number
long long squ_num;
calculate the square of number
squ_num=pow(input,2);
// print the output
cout<<"square of "<< input<<" is: "<<squ_num<<endl;
}
// driver function
int main()
{
int n;
// read the number until user enter 0
do{
cout<<"enter a number!! (0 to stop):";
// read the input from user
cin>>n;
// call the function to calculate square of input number
square(n);
}while(n!=0);
return 0;
}
Explanation:
Declare a variable "n" to read the input number from user.Call the function square() with parameter "n".In this function, it will calculate the square of the input number and print it.This will repeat until user enter 0 as input.Program will ends when user give 0 as input.
Output:
enter a number!! (0 to stop):5
square of 5 is: 25
enter a number!! (0 to stop):7
square of 7 is: 49
enter a number!! (0 to stop):11
square of 11 is: 121
enter a number!! (0 to stop):0
Answer:On your computer, open a web browser, like Chrome or Safari.
Go to Google Images.
Click Search by image .
Click Upload an image. Choose file or Browse.
Select a picture from your computer.
Click Open or Choose.
Explanation:
A) 12 cells is the correct answer
The options are missing from the question.
Below are the options.
A) 192.168.15.0
B) 192.168.15.16
C) 192.168.15.32
D) 192.168.15.64
Answer: The correct option to the question is option D
192.168.15.64
Explanation:
The Network is: 192.168.15.64/26 11000000.10101000.00001111.01000000
Then the Broadcast is: 192.168.15.127 11000000.10101000.00001111.01111111
We see the HostMin as: 192.168.15.65 11000000.10101000.00001111.01000001
And the HostMax as: 192.168.15.126 11000000.10101000.00001111.01111110