Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SIDE NOTE : C++ language please and thank you Gmail Images estion #1: writing a 'structure, declaration (5 pts) write a C++ program that has
SIDE NOTE : C++ language please and thank you
Gmail Images estion #1: writing a 'structure, declaration (5 pts) write a C++ program that has the following onents: A struct type named ceLLPhone which will describe a cell phone. The following information should be included: Practice Srtructures brand (string) model (string) weight (double) price (double) ter data for 1st phone of phone: Huauei hone nodel: Mate 10 Lite price: 374.79 ter data for 2nd phone hone nedel: Hate 18 Lite ight of phone in kg 161 ) Write a function to read values into the member variables of type cellPhone. (The struct variable should be passed as an argument). The order in which the data is read is the same as that of the items in the struct. of phone: Huauei ight of phone in kg hone pric 324.29 .164 ter data for 3rd phone Write a function to compare the content of 2 variables of type cellPhone which should return true if the values are the same and false otherwise. d of phone: Apple hone nedela iPhone 8_Plus ight of phone in kg .282 hone price: 368 ) Write a function to display the data of an object ceilphone with a descriptive message of your choice. the follouing 2 phones ne is a Huavei. Mate 18 Lite which wighs 8.164kgs and costs 374-79 Phone is a Huauei, Mate 18 Lite which weighe .164kgs and costs 374.79 he twe phones are the sane the fo1louing 2 phones Using your function, your main function should: is a Huauei, Mate 18Lite which weighs .164kgs and costs $374.79 Phone is aApple. iPhone 8_Plus which weighs .202kgs and costs $36 Create 3 variables of type cellphone. Prompt the user for the data to be stored in each variable of type cellPhone. Be sure to have 2 of the variables with exactly the same information. Compare the 3 cellPhone objects 2 at a time to see if they are the same a. he two phones are the oane b. the follouing 2 phones Phone is a Apple, iPhone 8 Plus which sweighs 8.202kgs and costs 368 n is Huauei, Mate_10-Lite which weighs 8.164kg* nd costs c. the sane ope you are confortable uith the use of atructures now is a sample output to illustrate the expected behavior of your programStep 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