If you have any problem with the code feel free to comment.
Program
#include <iostream>
using namespace std;
//Item structure
struct Itemto
{
string description;
string codeto;
string color;
int number;
float price;
};
int main()
{
//creating an item
struct Itemto item = {"soap", "12345", "blue", 5, 2.5};
//printing the item
cout<<"Description:
"<<item.description<<endl;
cout<<"Code: "<<item.codeto<<endl;
cout<<"Color: "<<item.color<<endl;
cout<<"Number in Stock:
"<<item.number<<endl;
cout<<"Price: $"<<item.price<<endl;
}
Output

QUESTION 5 14 marks A bathroom warehouse keeps the following information for the items in stock:...
A bathroom warehouse keeps the following information for the items in stock: description(a string, for example "bath") codeto distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example “123456") color(a string, for example "white") numberin stock (an integer, for example 49) price(a floating point number, e.g. 349.95) 5.1 Write down the declaration for a structfor storing the information associated with one kind of item in stock. Give the...
QUESTION 5 14 marks A bathroom warehouse keeps the following information for the items in stock: description(a string, for example "bath") codeto distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example "123456") color(a string, for example "white") numberin stock (an integer, for example 49) price(a floating point number, e.g. 349.95) 5.1 Write down the declaration for a struct for storing the information associated with one kind of...
A bathroom warehouse keeps the following information for the items in stock: O description(a string, for example "bath”) codeto distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example "123456") color(a string, for example "white") numberin stock (an integer, for example 49) price(a floating point number, e.g. 349.95) 5.1 Write down the declaration for a structfor storing the information associated with one kind of item in stock. Give...
90% - e QUESTIONS T4 marks A bathroom warehouse keeps the following information for the items in stock: description a string. For example "bath) codete distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example "123456") colorfa string, for example "white") numberin stock (an integer, for example 49) O pricela floating point number, e 349.95) 5.1 Write down the dedaration for a struct for storing the information associated...
QUESTIONS 14 marks A bathroom warehouse keeps the following information for the items in stock: o description(a string, for example "bath") O code to distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example "123456") col or (a string, for example "white") Onunber in stock (an integer, for example 49) pri cela floating point number, e.g. 349.95) Write down the declaration for a struct for storing the information...
A bathroom warehouse keeps the following information for the items in stock: description(a string, for example "bath”) codeto distinguish between items with the same description and color but of a different design (a string to store 6 digits, for example "123456") color(a string, for example "white") numberin stock (an integer, for example 49) price(a floating point number, e.g. 349.95) 5.2 Assume that an array Item stock [50] has been declared and that information for 50 items in stock has been...