Assignment 3

Assignment 3 - Intro to Programming in C - Programming...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Intro to Programming in C - Programming Assignment 3 DUE WED OCTOBER 27 9:00 AM Assignment purpose : User defined functions, pointers, Menu driven program A Company needs to create software for their new line of phone Apps. Customers will have the opportunity to purchase the Apps using the following credit amounts: (1) - $20.00, (2) - $10.00, (3) - $5.00 (4) - $1.00 G GPS locator $4.99 L -Flashlight $1.99 X X-ray vision $12.99 F Food replicator $15.99 P Game Package $9.99 You must have at least 7 user defined functions: // Displays the list of apps available //prompts for the users selection and sets the value of the selection void Menu( char *selection); //sets the cost of the item based on value in selection void GetCost( char selection, double *item_cost); //Displays the codes for money input- gets user input amounts //compares the int codes and updates the bank amount entered void MoneyMenu( double *bank, double item_cost); //compares the amount the user has in the bank to the price of item selected. //compares the amount the user has in the bank to the price of item selected....
View Full Document

Page1 / 3

Assignment 3 - Intro to Programming in C - Programming...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online