/*******************************************************************************************
* Programmer: Jacob Bridgman *
* Class: Cpt S 121, Spring 2012; Lab Section 5 *
* Programming Assignment: Programming Assignment 1 *
* Date: January 25, 2012 *
* Description: This program uses several equations to calculate results based on user input*
*******************************************************************************************/
#include <stdio.h>
//#include <math.h>
//#define PI 3.14159
int main (void)//main function
{
//int a = 0;
//char plaintext_character = '\0', encoded_character = '\0';
double force = 0.0, mass = 0.0, acceleration = 0.0, newtons_2nd_law = 0.0;
//radius = 0.0, height = 0.0,
//x = 0.0, y = 0.0,
//image_distance = 0.0, focal_length = 0.0;
printf("\n");
printf("---=====ADEPTUS MECHANICUS EQUATION EVALUATOR OF THE OMNISSIAH=====---\n");//fun line that describes program
printf("----------------THE MACHING SPIRIT IS WILLING--------------\n");
//Newton's Second Law
printf("Enter mass and acceleration ,as floating-point values, for Newton's Second Law: \n");
scanf("%lf%lf", &mass, &acceleration);
printf("Newton's Second Law: Force = Mass * Acceleration\n");
newtons_2nd_law == mass * acceleration;
printf ("force = %lf * %lf = %lf", mass, acceleration, newtons_2nd_law \n\n);
printf ("NEXT EQUATION \n\n");
//Volume of a Cylinder
//printf("Volume of a Cylinder\n");
//printf("Volume_Cylinder = PI * radius * radius * height\n");
//printf("Enter the radius and height <as floating-point values> for volume_cylinder: \n");
//scanf("%lf%lf", &radius, &height);
//volume_cone = 1.0 / 3 * PI * radius * radius * height;
return 0;
}