Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
double num;
// read discriminant
cin>>num;
// calculate square of the input
double result=num*num;
// print the square number
cout<<result<<endl;
return 0;
}
Explanation:
Declare a variable "num".Read the value of "num" from keybord.Then calculate square of the input number.Print the square of input number.
Output:
5
25
The program that ask the user to type there first name and then print out how many letters that is in there name is as follows:
x = input("what is your first name: ")
y = len(x)
print(f"There are {y} letters in your name")
<h3>Code explanation;</h3>
The code is written in python.
- Firstly, we store the users name in the variable x.
- Then, we find the length of the users inputted name and store it in a variable y.
- Finally, we print the length of the users name using the print function.
learn more on python here: brainly.com/question/26738945
Answer:
C. A cold site is a leased facility that contains only electrical and communications wiring, air conditioning, plumbing, and raised flooring. No communications equipment, networking hardware, or computers are installed at a cold site until it is necessary to bring the site to full operation.
Explanation:
I believe the answer would be B taking b2 and b3 together and then subtracting b4 from the total number