Question: ********************************CODE SHOULD BE WRITTEN IN C/C++****************************** 3. The following program is intended to insert, and display data entered by using pointer notation. It has bugs.

********************************CODE SHOULD BE WRITTEN IN C/C++******************************

********************************CODE SHOULD BE WRITTEN IN C/C++****************************** 3. The following program is intended

to insert, and display data entered by using pointer notation. It has

bugs. Please fix the bugs. (3 points) Possible output should look like

this: Enter 5 numbers: 6, 8, 4.5, 5, 2 Displaying data: 4.5

#include using namespace std; int main() float arrf5] Inserting data using po

cout arri); // Displaying data using pointer notation cout "Displaying data: "

3. The following program is intended to insert, and display data entered by using pointer notation. It has bugs. Please fix the bugs. (3 points) Possible output should look like this: Enter 5 numbers: 6, 8, 4.5, 5, 2 Displaying data: 4.5 #include using namespace std; int main() float arrf5] Inserting data using po cout arri); // Displaying data using pointer notation cout "Displaying data: "

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!