how to print electricity bill according to following charges
first 100 units -1rs per unit
for next 200 units-1.50 rs per unit
without using conditions


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

give an example of type casting by a simple c program

2 Answers   TCS,


Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code

1 Answers  


palindrome for strings and numbers----Can anybody do the prog?

6 Answers   CTS, TCS, Vipro Lifescience Pvt,


What is meant by inheritance?

0 Answers  


What is signed and unsigned?

0 Answers  






What is a structure and why it is used?

0 Answers   Hexaware,


What are the types of data types and explain?

0 Answers  


What is the purpose of the statement: strcat (S2, S1)?

0 Answers  


How do you search data in a data file using random access method?

0 Answers  


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


find largest of 3 no

8 Answers  


whats the use of header file in c?

2 Answers  


Categories