Skip to content

Commit 84daca3

Browse files
square.cpp
1 parent 50e818e commit 84daca3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

square.cpp

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <iostream>
2+
#include <math.h>
3+
4+
using namespace std;
5+
6+
int main()
7+
{
8+
float a = 3.5;
9+
10+
cout << pow(a, 2.0) << endl;
11+
cout << a * a << endl;
12+
13+
return 0;
14+
}

0 commit comments

Comments
 (0)