aboutsummaryrefslogtreecommitdiff
path: root/Blakermoduleone.cpp
diff options
context:
space:
mode:
authorCarimhmm <[email protected]>2021-10-05 18:28:15 -0700
committerGitHub <[email protected]>2021-10-05 18:28:15 -0700
commit6f41c7ce40b348c7d3ef359ffa11db4341972316 (patch)
tree487ace595c7c267e19aa6275e85c975f0d41bb6c /Blakermoduleone.cpp
parentAdd online IDE url (diff)
downloadcst116-lab1-carimhmm-main.tar.xz
cst116-lab1-carimhmm-main.zip
Add files via uploadHEADmain
Diffstat (limited to 'Blakermoduleone.cpp')
-rw-r--r--Blakermoduleone.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Blakermoduleone.cpp b/Blakermoduleone.cpp
new file mode 100644
index 0000000..ba4e35d
--- /dev/null
+++ b/Blakermoduleone.cpp
@@ -0,0 +1,31 @@
+//Pseudocode for radius of a circle:
+//1. include iostream
+//2. main() function
+//3. prompt user to input circle radius:
+//4. assign prompt value to RADIUS
+//5. assign PI value of 3.1416
+//6. assign AREA value PI*RADIUS squared
+//7. Print AREA of circle
+//8. Call to main
+
+
+//#include <iostream>
+
+//int main()
+//{
+ // std::cout << "Modified version of original C program "
+ // << " (by kernighan & Ritchie)\n";
+
+ // std::cout << "Hello World!";
+
+ // return 0;
+//}
+
+#include <iostream>
+
+int main()
+{
+ std::cout << "My name is Cari.\nI am 30 years old.";
+
+
+} \ No newline at end of file