Question: C - string, C + + , Variable employeeID is assigned with a string read from input. For each character in employeeID, output each character
Cstring, C
Variable employeeID is assigned with a string read from input. For each character in employeeID, output each character followed by an exclamation mark character
Ex: If the input is DXB then the output is:
DXB
#include
#include
using namespace std;
int main
char employeeID;
int i;
cin employeeID;
Your code goes here
cout
endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
