#include <stdio.h> #include <math.h> #include <string.h> int main() { int n = 0; float nf = 0; scanf("%d",&n); nf = (float) n; float len = nf *(pow(0.5, 0) + 2*pow(0.5, 1) + 2*pow(0.5, 2) + 2*pow(0.5, 3) + 2*pow(0.5, 4)); float hf = nf*pow(0.5,...