Question: C programming Have the user enter a line of input. Scan the line of input using getchar looking for a numerical dollar amount. Print out

C programming

Have the user enter a line of input.

Scan the line of input using getchar looking for a numerical dollar amount.

Print out each dollar amount that you find on the line.

Output:

I will be paying $125.75 for 12 roses and each one will cost me $10.48

$125.75

$10.48

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 Programming Questions!