Find the value of x=(3a+2b*5c)/9%a
Ask for entering values first. result should be print in float. Where take input from user.
Find the value of x=(3a+2b*5c)/9%a
Ask for entering values first. result should be print in float. Where take input from user.
hey in c there is no meaning for modulo of non int number. are you sure they asked to print in floating point?
and if they did is (3a+2b*5c)/9 int?
You start by making an effort on your own.
Say prompting for a,b,c and then printing them out - which would at least verify that you read them correctly.
http://cboard.cprogramming.com/c-pro...uncements.html
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
yeah. I know that it is not possible to use modulus in floating point. that is why I am confused..And i am sure about the question.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.