Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a c++ program the prompts for the following data items. Store all of these into pointer variables. 1. Prompt for Name using string. Display

Write a c++ program the prompts for the following data items. Store all of these into pointer variables.

1. Prompt for Name using string. Display the value and the pointer address.

2. Prompt for Age using int. Display value and the pointer address.

3. Prompt for Salary using float. Display value and the pointer address.

4. Create a method called raisedSalary with a void return. Pass the salary pointer to the method and add %10 to your salary. ( Review section 9.7)

5. After you have called the raisedSalary method, display the salary variable.

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

More Books

Students also viewed these Databases questions

Question

5. How are novelty, creativity and communication related?

Answered: 1 week ago