Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Q
Language: C/C++
Code:

program test;
uses Crt;
var m,n,i : integer; 
    tong,chia:real;
begin
tong:=1
writeln('Nhap so n :'); readln(n);
for i:=1 to n do
begin
m:=i+2;
if m mod 2 <> 0 then 
chia:=1/m;
tong:=tong + chia;
write('A=',tong:2:2);
end.          
Comments: