Answer:
1000/125 billion instructions per second.
Explanation:
All the stages take 125ps and latch time was outlooked.
The clock speed would be the highest stage time in all 5 stages. Here all are same clock speed it would be 125ps only.
throughput = 1/cycle time so ⇒ 1/125 instructions/ps
Since we want it in billion instructions per second so we have to multiply with 10⁻⁹ /10⁻¹² then the result is 1000/125 billion instructions per second.
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int perimeter(int side1, int side2, int side3){
return side1+side2+side3;
}
struct Triangle {
int side1; int side2; int side3;
};
int main(void) {
int side1, side2, side3;
cout<<"Sides of the triangle: ";
cin>>side1>>side2>>side3;
struct Triangle T;
T.side1 = side1;
T.side2 = side2;
T.side3 = side3;
cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;
return 0;
}
Explanation:
See attachment for complete code where comments are as explanation
I believe the charger has to be connected for it to turn on.
A cryptocurrency is a digital asset designed to work as a medium of exchange that uses strong cryptography to secure financial transactions, control the creation of additional units, and verify the transfer of assets.