Â
#include <stdio.h>
void main()
{
float force, mass, acceleration;
printf("*** Program to Calculate Force ****\n");
printf("Enter the Mass of Object: ");
scanf("%f", &mass);
printf("Enter the Acceleration of Object: ");
scanf("%f", &acceleration);
force = mass * acceleration;
printf("The Force of the object is : %.2f N", force);
}
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP