Skip to content

Commit

Permalink
Fixed some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lamhoangtung committed Jul 15, 2018
1 parent d1a5679 commit 37b1e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bai thuc hanh so 3/bai1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ int main(){
int n;
cout << "Nhap so nguyen n: ";
cin >> n;
double s=(giaithua(n)+1)/giaithua(n+1);
double s=(giaithua(n)+1.0)/giaithua(n+1);
cout << "S = " << s << "\n";
return 0;
}

0 comments on commit 37b1e1c

Please sign in to comment.