i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / vignesh1988i
k=4;;;;;
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
When should the const modifier be used?
Why is c faster?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Can a variable be both constant and volatile?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is #include cctype?
How can a program be made to print the name of a source file where an error occurs?
What does c mean before a date?
Write a program to print fibonacci series without using recursion?
Explain the ternary tree?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Simplify the program segment if X = B then C ← true else C ← false
how to find binary of number?
how to count no of words,characters,lines in a paragraph.
What are bitwise shift operators in c programming?