1. Upgrading RAM increases run speed.
2. Upgrading Hard Drive increases memory.
3. Adding more ROM to it..?
Answer:
long power(int i)
{
return pow(2,i);
}
Explanation:
The above written function is in C++.It does not uses loop.It's return type is long.It uses the function pow that is present in the math library of the c++.It takes two arguments return the result as first argument raised to the power of second.
for ex:-
pow(3,2);
It means 3^2 and it will return 9.
The program is an illustration of string manipulations
<h3>What are string manipulations?</h3>
String manipulations include calculating the lengths of strings and also performing several operations on the string
<h3>The actual program</h3>
The complete program in C++ is as follows:
#include <iostream>
using namespace std;
int main(){
string passwordStr;
cin>>passwordStr;
if(passwordStr.length() <= 7){
cout<<"Valid";
}
else{
cout<<"Invalid";
}
return 0;
}
Read more string manipulation at:
brainly.com/question/14284563
Answer:
B
Explanation:
we are in a digital generation, where by technology is gradually taking over the world. Almost all business, schools, company, etc make use of computer.
The name of the programming language is “Brainfugd”