diff --git a/30 Days of Code/Day 01/Data Types.cpp b/30 Days of Code/Day 01/Data Types.cpp new file mode 100644 index 0000000..3b44b95 --- /dev/null +++ b/30 Days of Code/Day 01/Data Types.cpp @@ -0,0 +1,9 @@ + int a; + double c; + string s1,ss; + cin>>a; + cin>>c; + //ignores an end of line character + cin.ignore(); + getline(cin,s1); + cout<