#include<iostream>
using namespace std;
main()
{
int em;
char name,add;
cout<<"\n enter number of employees : ";
cin>>em;
// here we took an input by the name employee...
while(em<=9) //using while loop
Employee number is stored in em
and put in the loop...
In order to put multiple responses I put two input keywords in code block... but it's not working properly.
{
cout<<"\n enter name: "; //code block
cin>>name;
cout<<"\n enter address : ";
cin>>add;
em=em+1;
}
return 0;
}