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
What are the 5 types of organizational structures?
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
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
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is the difference between exit() and _exit() function in c?
Why void main is used in c?
Do you know what are bitwise shift operators in c programming?
The variables are int sum=10,SuM=20; these are same or different?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is unsigned int in c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Why c is called procedure oriented language?