C program to converts 2 fathoms to feet

6:58 AM
C program to converts 2 fathoms to feet


#include

int main(void)

{

int feet, fathoms;



fathoms = 2;

feet = 6 * fathoms;

printf("There are %d feet in %d fathoms!\n", feet, fathoms);

printf("Yes, I said %d feet!\n", 6 * fathoms);



return 0;

}

0 Comments