OOP HomeWork
This commit is contained in:
13
oop_hw1/oop_hw1_5/main.cpp
Normal file
13
oop_hw1/oop_hw1_5/main.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <iostream>
|
||||
#include "check_num.h"
|
||||
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
char ch;
|
||||
for (int i = 0;i < 10;i++) {
|
||||
cin >> ch;
|
||||
cout << is_digit(ch)<<endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user