I am trying a problem. I need to print the ans in 6 decimal digits. For example if the ans is 64, I want to print 64.000000 I tried the following way. what I did wrong?
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
int main() {
    long long t;
    cin>>t;
    float n;
    while(t--)
    {
        cin>>n;
        float s=(n-2)*180.000000;
        float w=(s/n)*1.000000;
        cout<<w*1.000000<<setprecision(6)<<endl;
    }
    return 0;
}
 
    