Created
March 13, 2020 16:59
-
-
Save jinnatul/c6a9850b02181da7c21f3f690c74f55d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main() { | |
int tc, t = 1; | |
cin >> tc; | |
while(tc--) { | |
double num, ans; | |
cin >> num; | |
ans = 0.25 + (4*num*num); | |
printf("Case %d: %.2lf\n", t++, ans); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment