An electricity board charges the following rates for the use of electricity: Number of Units Cost per Unit For the first 200 units Paise: 0.80per unit For the next 100 units Paise: 0.90per unit For t he next and above 300 units Rupee: 1.00per unit All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs.400, then an additional surcharge of 15% of to tal amount is charged. Read the names of users and number of units consumed and print out t he charges with names.
In a library management system auditing is a complex task for a librarian. The stock maintenance has manual entries that may have multiple entries of book access number. The library management system should be automated to remove duplicate book access number. Write a C program to remove duplicate numbers using pointer Note: Use functions and Pointers.
An electricity board charges the following rates for the use of electricity: Number of Units Cost per Unit For the first 200 units Paise: 0.80per unit For the next 100 units Paise: 0.90per unit For the next and above 300 units Rupee: 1.00per unit All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs.400, then an additional surcharge of 15% of total amount is charged. Read the names of users and number of units consumed and print out the charges with names.
Runtime Input :
100
500
Output :
Starting Reading: 100
Last Reading: 500
Unit Consumed: 400
Total Cost: 517.50
Largest Palindrome
You are given an integer
The input contains a single integer
The output should be a single integer which is the largest palindrome that is less than the given input.
Given
N = 45.44 is the largest number which is a palindrome that is less than 45.