[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.6755838 [DELETED]  [View]
File: 468 KB, 800x450, Spur_gears_animation[1].gif [View same] [iqdb] [saucenao] [google]
6755838

>>6755837
>>6755828
>>6755805
#include <stdio.h>
#include <math.h>

int main(void)
{

//Input Variables
float n, pa, d, rim, hub, bore;

//Output variables
float p, a, od, b, dr, tc, i, f;

//ask for input
printf("All input values are in inches\n");
printf("\nPlease input the value for N: ");
scanf("%f", &n);
printf("\nPlease input the value for PA: ");
scanf("%f", &pa);
printf("\nPlease input the value for D: ");
scanf("%f", &d);
printf("\nPlease input the value for Rim: ");
scanf("%f", &rim);
printf("\nPlease input the value for Hub: ");
scanf("%f", &hub);
printf("\nPlease input the value for Bore: ");
scanf("%f", &bore);

//Run calculations
p= n/d;
a= 1/p;
od= d+(2*a);
b= 1.157/p;
dr= d-(2*b);
tc= d*sin(90/n);
i= d/8;
f= b/7;

//inform user that dick sucking is not optional
printf("Suck my dick. \n");

//output payment for whoring out
printf("p: %.3f \na: %.3f \nod: %.3f \nb: %.3f \ndr: %.3f \ntc: %.3f \ni: %.3f \nf: %.3f", p, a, od, b, dr, tc, i, f);

return 1;
}

Navigation
View posts[+24][+48][+96]