0

Can i use the int to let the user input a statement using letters instead of numbers

#include<iostream> using namespace std; int main() { int a; cout << "Please enter a statement \n"; cin >> a; return 0; } //allows user to input statement?

25th Apr 2018, 7:59 PM
william rivera
william rivera - avatar
2 Respostas
0
thank you can u give me an example of a string?
25th Apr 2018, 8:14 PM
william rivera
william rivera - avatar