Run ID:92909
提交时间:2024-10-06 20:28:29
#include<iostream> using namespace std; int main(){ float q1,r1,r2,r3,r4,r5,j1,j2,j3,j4,j5; q1=3.1415926; r1=1; r2=3; r3=5; r4=7; r5=9; j1=q1*(r1*r1); j2=q1*(r2*r2); j3=q1*(r3*r3); j4=q1*(r4*r4); j5=q1*(r5*r5); cout<<j1<<endl; cout<<j2<<endl; cout<<j3<<endl; cout<<j4<<endl; cout<<j5<<endl; return 0; }