Answer:
4A
Explanation:
From Ohms law ;
R= V/I where R is resistance, V is voltage and I is current
Given that;
R= 3Ω
V= 12
Using the values in the formula as;
R= V/I
3=12/I
I= 12/3
I= 4 A
Answer:
std::string x[n];
int mode1count = 0; // msft
int mode2count = 0; // appl
int mode3count = 0; // csco
int mode4count = 0; // imb
int i;
for(i = 0; i < n; ++i) // Set the array of strings
x[i] = modeList[i];
for(i = 0; i < n; ++i)
{
if(x[i] == "msft")
++mode1count;
else if(x[i] == "appl")
++mode2count;
else if(x[i] == "csco")
++mode3count;
else if(x[i] == "imb")
++mode4count;
}
Explanation:
It is important to ensure that there is adequate space and necessary punctuation when developing codes and programming to avoid getting error messages when running the codes. In this problem, the codes required are shown in the answer section. The codes are properly writing and arranged.
Answer:
yes
Explanation:
The 1991 standard states, "engineering and work practice controls shall be used to eliminate or minimize employee exposure." The revision defines Engineering Controls as "controls (e.g., sharps disposal containers, self-sheathing needles, safer medical devices, such as sharps with engineered sharps injury protections ...
Answer:
- #include <iostream>
- using namespace std;
- void printLarger(int a, int b){
-
- if(a > b){
- cout<<a;
- }else{
- cout<<b;
- }
- }
- int main()
- {
- printLarger(4, 5);
- return 0;
- }
Explanation:
The solution code is written in C++.
Firstly define a function printLarger that has two parameters, a and b with both of them are integer type (Line 5). In the function, create an if condition to check if a bigger than b, print a to terminal (Line 7-8). Otherwise print b (Line 9-10).
In the main program, test the function by passing 4 and 5 as arguments (Line 16) and we shall get 5 printed.
Answer:
Microsoft Word - Hand tools SON