This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Name: Noah Douglas | |
| //Date: October 4th 2017 | |
| //Program Name: DragCalc.cpp | |
| /* | |
| Program Description: We are given a data file for pressure recordings on a cube in water, and using this information we must first determine | |
| if each probe given is for the right or left side, then we calculate the drag by taking the sum of left side values times the given area and subtracting | |
| the sum of the right side times the given area. We then create a data file and write to it each time interval and calculated drag value for each current time. | |
| And finally, we calculate the average drag value for the entire time interval and print this information on the console screen. | |
| Drag Formula: (sum of left side pressure values * area) - (sum of right side pressure values * area) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Name: Noah Douglas | |
| //Date: 9/6/2017 | |
| //Program name: FriendMeter.cpp | |
| //Program Description: Determine compatability of friendship between myself and whomever takes this quiz about likes and dislikes. Because making friends can be difficult | |
| //Of course, all point values are assigned based on how strong my opinion is in each matter, this quiz is likely not applicable to any other person. | |
| #include "stdafx.h" | |
| #include <iostream> | |
| using namespace std; | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Write a description of class ArrayMediaLib here. | |
| * | |
| * @author Noah Douglas | |
| * @version March 15 2017 | |
| */ | |
| public class ArrayMediaLib{ | |
| public static double getAvg(int[] daysBtwnPurchase) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Noah Douglas | |
| //Cartwright Industries Payroll | |
| //4-7-16 | |
| #include<iostream> | |
| using namespace std; | |
| int main() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Noah Douglas | |
| //Crispies Bagel and Bites | |
| //4-7-16 | |
| #include<iostream> | |
| #include<string> | |
| using namespace std; | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Noah Douglas | |
| //Savings Account Calculator | |
| //4-7-16 | |
| #include<iostream> | |
| #include<string> | |
| using namespace std; | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Age Program | |
| //Noah Douglas | |
| //4-7-16 | |
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| int age; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Door Prize | |
| //Noah Douglas | |
| #include<iostream> | |
| using namespace std; | |
| int choice; | |
| int main() | |
| { | |
| cout << "Choose what is behind door #1, door #2, or door #3. "; | |
| cin >> choice; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Noah Douglas | |
| //Delgados Tacos | |
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| int main() | |
| { | |
| //Create 10 menu items each menu item will need a price and two other variables to conicide with it. |