This code needs to be modular, with function prototype, function call and function definition
#include using namespace std;int main(){string input;cout<"enter 10="" character="" phone="" number="" using="" letters:="">"enter><>cin>>input;cout <>cout <"here are="" the="" number="" for="" the="" letters="" you="" used:="">"here><>for (int i = 0; i < input.length();="" i++)="">if(input[i]=='A' || input[i]=='B' || input[i]=='C'){cout<>}else if(input[i]=='D' || input[i]=='E' || input[i]=='F'){cout<>}else if(input[i]=='G' || input[i]=='H' || input[i]=='I'){cout<>}else if(input[i]=='J' || input[i]=='K' || input[i]=='L'){cout<>}else if(input[i]=='M' || input[i]=='N' || input[i]=='O'){cout<>}else if(input[i]=='P' || input[i]=='Q' || input[i]=='R' || input[i]=='S'){cout<>}else if(input[i]=='T' || input[i]=='U' || input[i]=='V'){cout<>}else if(input[i]=='W' || input[i]=='X' || input[i]=='Y' || input[i]=='Z'){cout<>}else{cout<>}cout <>return 0;}
using namespace std;
int main(){string input;cout<"enter 10="" character="" phone="" number="" using="" letters:="">"enter><>cin>>input;cout <>cout <"here are="" the="" number="" for="" the="" letters="" you="" used:="">"here><>
for (int i = 0; i < input.length();="" i++)="">
if(input[i]=='A' || input[i]=='B' || input[i]=='C'){cout<>}else if(input[i]=='D' || input[i]=='E' || input[i]=='F'){cout<>}else if(input[i]=='G' || input[i]=='H' || input[i]=='I'){cout<>}else if(input[i]=='J' || input[i]=='K' || input[i]=='L'){cout<>}else if(input[i]=='M' || input[i]=='N' || input[i]=='O'){cout<>}else if(input[i]=='P' || input[i]=='Q' || input[i]=='R' || input[i]=='S'){cout<>}else if(input[i]=='T' || input[i]=='U' || input[i]=='V'){cout<>}else if(input[i]=='W' || input[i]=='X' || input[i]=='Y' || input[i]=='Z'){cout<>}
else{cout<>}cout <>return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here