Write a program that stores information about laptops in a computer shop. The program stores the records of 100 laptops. For each laptop, it stores information such as its model, it’s price, and its memory size. The “Laptop” structure definition is given below. The program should take input for all the 100 laptops in the shop. In the end, the program should display the information of all those laptops which has price above 60000.
struct laptop
{
string model;
int price;
int memory_size;
}
Comments
Leave a comment