0% found this document useful (0 votes)
23 views1 page

S.No Questions On Structures: Programs Using Structures

The document discusses two questions involving structures in C programming. The first asks to create a structure to store pizza details like company name, weight, and price, and write a program to get input from the user and display the pizza information. The second asks to create a structure to store sales details like product code, name, rate, date, quantity, and amount for n customers, and write a program to generate a bill for the customer.

Uploaded by

Suseel Menon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views1 page

S.No Questions On Structures: Programs Using Structures

The document discusses two questions involving structures in C programming. The first asks to create a structure to store pizza details like company name, weight, and price, and write a program to get input from the user and display the pizza information. The second asks to create a structure to store sales details like product code, name, rate, date, quantity, and amount for n customers, and write a program to generate a bill for the customer.

Uploaded by

Suseel Menon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

HOT questions using Structures:

S.No Questions on Structures:

1. Programs using structures

a) Mr. John runs a pizza-analysis service. For each pizza, he needs to record the
following information: The name of the pizza company, which can consist of more
than one word, The weight of the pizza(in gms), Price of the pizza

Devise a structure in C that can hold this information and write a program to get
the information about pizza from the user and then it should display the pizza
details.

b) A Departmental store is maintaining sales details (product code, product name,


unit-rate, selling-date, quantity-sold and amount) of n customers as a single logic
unit (structure). Write a program to generate the bill for the customer.

You might also like