Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

Develop knowledge of the Italian entrepreneurial business context.

Answered: 1 week ago

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago