Professional Documents
Culture Documents
GST Rates for Hotels based on Room Tariff (with effect from 1st October 2019)
Tariff per Night GST Rate
< Rs.1,000 No Tax
Rs.1,001 -7,500 12%
= or > INR 7,501 18%
5. Write a C program to get input of two integer arrays separately and prepare a third
array which is sorted in ascending order contains the merger of both arrays in ascending
order.
7. Write a C program to find out the EB bill for a consumer using conditional and looping
statements.
0 to 200 units – first 100 units free, for balance Rs. 1.5 per unit.
For 0 to 500 units – first 100 units free, for next 100 Rs. 1.5 per unit, for next 201-500
for balance Rs.2.5 per unit
Get the input of number of units consumed and print the bill amount.
8. Write a C program to collect an array of names as input and find out the number of
characters in each name and form a new integer array which will contain the length of
each name and display the result.
9. Write a C program by performing dynamic memory allocation using pointers instead
of arrays and display the result for Question No.8. Also deallocate memory after
displaying the results.