Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a C++ program that will ask the user to enter an integer such as 15, and then assign that integer to a variable of
write a C++ program that will ask the user to enter an integer such as 15, and then assign that integer to a variable of int type named size. Next, create an array of double type whose total number of elements is defined by the size variable, and then assign ptr as pointer that points to the array. Finally, use the typeid() function to display the data type of the ptr pointer.
6. Upload only the .zip fie. Programming Exercise # ex4_2 1. Create a new text file named ex4 2.cpp" with the following two lines. Be sure to replace the string YourFullName with your real full name. / *Filename: ex4_2.cpp Student: YourFullName */ Next to the above two lines, write a C++ program that will ask the user to enter an integer such as 15, and then assign that integer to a variable of int type named size. Next, create an array of double type whose total number of elements is defined by the size variable, and then assign ptr as pointer that points to the array. Finally, use the typeid) function to display the data type of the ptr pointer. 0 C. Developer Comm... - C:\csci 123>ex4_2.exe Enter an integer: 5 double * 3. Capture a screen shot similar to the following and paste it to the Word document named ex04.docx (or .doc). 4. Create a .zip file (must be .zip format) containing the .cpp" file, the .exe file, and the .doc (or.docx or .pdf") fileStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started