A power utility charges the following rates: Units Rate/Unit First 25 units Rs 4.89 Next 35 units Rs 5.40 Next 40 units Rs 6.41 Beyond 100 units Rs 7.18 Write a program that accepts the number of...



A power utility charges the following rates:


Units Rate/Unit


First 25 units Rs 4.89


Next 35 units Rs 5.40


Next 40 units Rs 6.41


Beyond 100 units Rs 7.18


Write a program that accepts the number of units consumed and prints the total charges


payable.


Write a program that accepts a character from the keyboard and prints whether the character


is alphabetic, numeric or neither. The program should also print whether the character is lower or


uppercase. (HINT: Use the %c specifier of scanf.)





May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here