Question: C++ Write a program to declare an array of 5 float numbers and a string (a character array). Enter 5 float numbers; Use a loop





C++ Write a program to declare an array of 5 float numbers and a string (a character array). Enter 5 float numbers; Use a loop to print out the 5 float numbers of the array with subscripts; Use another loop to print out the 5 float numbers of the array without subscripts; Use another loop to print out the addresses of the 5 float numbers; Find the differences among the addresses, how many bytes a float number occupies in Visual C++? Enter your first name, e.g., "John"; Print out your first name in a reverse order, e.g., "nhoJ". 1. Please ensure that this is your own work and do not answer this question by copying another answer on Chegg. 2. Explain briefly what each line of code does
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
