#include<iostream>using namespace std;int main(){ int T,n,i,j,y; cin>>T; for(i=0;i<T;i++) { cin>>n; for(j=0;j<(2*n-1);j++) { cout<<" "; }cout<<"*\n"; for(j=(2*n-2);j>=n;j--) { ...