Answer:
- #include <iostream>
- using namespace std;
- int main() {
- int number =5;
- if (number>=0&& number <=100){
- cout<<"passed.\n";
- }
- else{
- cout<<"failed.\n";
- }
- return 0;
- }
Explanation:
There where multiple errors in the code given in the questions
Line 1: Missing <iostream>
Line 5: The comparison operator was wrong correction is highlighted
Line 12 Missing closing brace for the main function
All the errors have been fixed and the code above compiles
Answer:
The key difference between a library and a framework is “Inversion of Control”. When you call a method from a library, you are in control. But with a framework, the control is inverted:the framework calls you
Explanation:
A library performs specific, well-defined operations.
A framework is a skeleton where the application defines the "meat" of the operation by filling out the skeleton. The skeleton still has code to link up the parts but the most important work is done by the application.
Examples of libraries: Network protocols, compression, image manipulation, string utilities, regular expression evaluation, math. Operations are self-contained.
Examples of frameworks: Web application system, Plug-in manager, GUI system. The framework defines the concept but the application defines the fundamental functionality that end-users care about.
Answer: Cell site / Base station
Explanation:
A mobile network also referred to as the cellular network is refered to as the radio network which is distributed over the land areas which are refered to as the cells.
We should note that each is served by at least one fixed-location transceiver, which is called the cell site or the base station.
A symbol or set of characters in a programming statement whose value can be changed