Answer:
the hurts my brain sorry bud cant help
Explanation:
Answer:
b
Explanation:
the NEC has expanded the requirements for ground-fault circuit interrupters (GFCI) to protect anyone who plugs into an electrical system. Initially, it was only required for temporary wiring at construction sites and in dwelling unit bathrooms, but in recent years the Code requirements for GFCI protection have expanded to include many other areas, including commercial occupancies, fountains and swimming pools, and temporary installations, to name a few. (For a complete list of 2002 NEC references, see the sidebar below)
Answer:
This is the code:
Explanation:
count_vowels.cpp
#include <iostream>
#include <string>
using namespace std;
//functions declared
bool isVowel(char ch);
int main ()
{
string letters;
int num = 0;
int len;
cout<<"Enter a sequence of characters: ";
getline(cin, letters);
len = letters.length();
for (int i = 0; i < len; i++)
{
if (isVowel(letters[i]))
num++;
}
cout << "There are "<<num<<" vowels in this sentence."<<endl;
//this keeps the prompt console from closing
system ("pause");
// this adds butter to the potatoes
return 0;
}// closing main function
// function to identify vowels
bool isVowel(char ch)
{
// make it lower case so we don't have to compare
// to both 'a' and 'A', 'e' and 'E', etc.
char ch2 = tolower(ch);
return ch2 == 'a' || ch2 == 'e' || ch2 == 'i' || ch2 == 'o' || ch2 == 'u';
}