+ 3
I'm unable to take Alphabetic output after giving alphabetic input .but able when i give number input .
6 Respostas
+ 3
Because you also need to change the variable type.
Here you have an int, but for a name you need string or array of chars
+ 3
If i type name insted number in comment section..then this code not working well.
+ 2
#include <iostream>
using namespace std;
int main()
{
int a,b;
cout << "Please enter a Name \n";
cin >> a;
cout << ''Please enter a second name here \n";
cin >> b;
return 0;
}
+ 2
Ohhh. That's why im unable.
+ 2
Thankyou Dear
+ 2
Now that's working :)