adding solution to exercise 3

This commit is contained in:
Jidong Xiao
2023-09-18 23:58:22 -04:00
parent 340ea1dc8d
commit 5581676766
2 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
double a[3];
double *b = new double[3];
a[0] = 4.2;
a[1] = 8.6;
a[2] = 2.9;
b[0] = 6.5;
b[1] = 5.1;
b[2] = 3.4;