adding the programs

This commit is contained in:
Jidong Xiao
2023-09-19 21:31:07 -04:00
parent d977af4cd5
commit fcbb7fe85d
6 changed files with 56 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
float* oat[3];
oat[1] = new float;
*oat[1] = 3.14;
oat[2] = new float;
*oat[2] = 6.02;
float rice;
float* wheat;
wheat = oat[2];
float** barley = new float*;
*barley = oat[1];