1
0
UAHCode/CPE455/lab02/keyboardbo.cpp

28 lines
433 B
C++
Raw Permalink Normal View History

2022-08-28 21:12:16 +00:00
#include <iostream>
using namespace std;
int main( int argc, char* argv[ ] )
{
char a = 'A';
char b = 'B';
char buffer[4];
char c = 'C';
char d = 'D';
cout << "Enter up to 4 characters now: " << endl;
cin >> buffer;
cout << endl;
cout << "buff = " << buffer << endl;
cout << "a = " << a << endl;
cout << "b = " << b << endl;
cout << "c = " << c << endl;
cout << "d = " << d << endl;
return 0;
}