Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Programming in C : I need help please do not use atoi or strtok must use type def struct must use int main(void) The problem
Programming in C :
I need help
please do not use atoi or strtok
must use type def struct
must use int main(void)
The problem :
just assume the file is called userfile
The excel file :
An example of methods that should be used :
type def struct and must use int main(void) (The photo below is not the program I need help with I am only showing the concepts that should be used below)
he Pelican Stores, a division of National Clothing, is a chain of women's apparei stores operating throug country The chain recently ran a promotion in which discount coupon National Clothing Stores s were sent to customers of other Data collected for a sample of 100 in store credit card transactions at Pelican Stores during one day promotion was running are contained in the file while the Below is a sample of the four of the 100 total records in the data tile Marital Method of Customer Customer Items Net Sales Payment Type of Regular Regular Gender Status Age Married 32 39.50 Discover Male 102.40 Proprietary Card Female Married 36 22.50 Proprietary Card Female Married 32 10040 Proprietary Card Female Married 28 Type of Customer: Customers who made a purchase using a discount coupon are referred to as promotional customers and customers who made a purchase but did not use a discount coupon are referred to as regular customers. Promotional coupons were not sent to regular Pelican Stores customers, management considers the sales made to people presenting the promotional coupon as sales it would not otherwise make. Of course, Pelican also hopes that the promotional customers will continue to shop at its stores Items: The total number of items purchased Net Sales: The total amount (S) charged to the credit card Method of Payment: Proprietary card method of payment refers to charges made using a National Clothing charge card Write a C program that analyzes the data for these 100 customers and comment on your findings. Report facts only Type of Customer For example, of the 100 in-store credit card transactions at Pelican Stores Regular Promotional 30 during one day, 30% were regular customers and 70% were customers who used the discount coupon. That is, 70% of the sales were made to customers using the coupon, sales it would not have otherwise made 100 For example, of the 100 in-store credit card transactions at Pelican Stores during one day, the average Net Sales or the average credit card amount of sales was $77.60 he Pelican Stores, a division of National Clothing, is a chain of women's apparei stores operating throug country The chain recently ran a promotion in which discount coupon National Clothing Stores s were sent to customers of other Data collected for a sample of 100 in store credit card transactions at Pelican Stores during one day promotion was running are contained in the file while the Below is a sample of the four of the 100 total records in the data tile Marital Method of Customer Customer Items Net Sales Payment Type of Regular Regular Gender Status Age Married 32 39.50 Discover Male 102.40 Proprietary Card Female Married 36 22.50 Proprietary Card Female Married 32 10040 Proprietary Card Female Married 28 Type of Customer: Customers who made a purchase using a discount coupon are referred to as promotional customers and customers who made a purchase but did not use a discount coupon are referred to as regular customers. Promotional coupons were not sent to regular Pelican Stores customers, management considers the sales made to people presenting the promotional coupon as sales it would not otherwise make. Of course, Pelican also hopes that the promotional customers will continue to shop at its stores Items: The total number of items purchased Net Sales: The total amount (S) charged to the credit card Method of Payment: Proprietary card method of payment refers to charges made using a National Clothing charge card Write a C program that analyzes the data for these 100 customers and comment on your findings. Report facts only Type of Customer For example, of the 100 in-store credit card transactions at Pelican Stores Regular Promotional 30 during one day, 30% were regular customers and 70% were customers who used the discount coupon. That is, 70% of the sales were made to customers using the coupon, sales it would not have otherwise made 100 For example, of the 100 in-store credit card transactions at Pelican Stores during one day, the average Net Sales or the average credit card amount of sales was $77.60
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started