init
This commit is contained in:
17
cpp/print.cpp
Normal file
17
cpp/print.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int x;
|
||||
string y = "this is stored as a string";
|
||||
cout << "enter 1 to start: ";
|
||||
cin >> x;
|
||||
if (x = 1) {
|
||||
for (float n = 0; n < 10; n += 0.000000001) {
|
||||
cout << n << " " << endl;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user