Mr. Karan buys a lottery ticket. There are 5 numbers that are selected as winners in 5 regions. Check whether Mr. Karan won the lottery or not.
Requirements:
Mr. Seth is a Goldsmith. He wants to know the amount of money earned from the sale.
On a Normal day, i.e., Weekday there is a sale of Rs. 10000/- which is fixed. On a weekend, there is an additional sale of Rs. 5000/- , and on a festival day (be it either week day or week end), there is an additional sale of Rs. 20000/-.
Following are requirements to solve the problem
a. The type of day i.e., weekend or festival day has to be captured.
b. Check for the type of day and compute the total amount of sale
c. Display the amount of sale in Rupees.
loop that will store 10 percentages in the array
The file named called EMPLOYEE.txt contains employee details such as employee number, name, designation and salary of employee. Write a program to create a file to store the details of employee (Use of structure and fwrite () & fread () functions).
Write a C program for File Operations to get a character from the keyboard and print the entered character using fgetchar() and fputchar() function.
Write a C program to print weight and height of a person using typedef.
Write a C program to print Hr:Min:Sec of clock using typedef
Develop a C program for File Operations that stores n number of the Alphabets from A to Z in a file and display it.
Ms. Shravani, Ms. Jahnavi, Ms. Latha K, Ms. Ganapriya, and Ms. Shashikala P goes for festival shopping in Orion Mall. Each one purchases 5 items that are of the same type and Ms. Sharavani Maintains the cost of each purchase of all 5. Help Mr. Sharavani to store the cost of all items purchased by her and her friends. In the end, they want to know among all purchases which is the maximum cost. Generate a C Application for the same
Requirement
1. Declare a 2D array
2. Read the cost of all items
3. Find the maximum cost amongst all items.
4. Display the maximum cost.
Mr. Sayam Bharamraj is a school teacher and is a class teacher of section 9, in the initial days he was made to take care of kids during the prayers. He has to make students to stand in the line height-wise. There were 10 students in his section. Help Mr. Sayam Bharamraj to arrange the students in the lowest to the highest height.
(Hint: Perform Bubble sort, Reading the height of the students)