Answer Posted / shruti
to print numbers which are even from 0 to 100
main()
{
int i;
puts("THE EVEN NUMBERS ARE:");
for(i = 0 ; i <= 100 ; i++)
{
if(i%2 == 0)
printf("%d", i);
}
}
Is This Answer Correct ? | 23 Yes | 14 No |
Post New Answer View All Answers
Explain built-in function?
What is an example of structure?
What does c mean in basketball?
What is c++ used for today?
Can you define which header file to include at compile time?
What is the advantage of using #define to declare a constant?
What are external variables in c?
What is structure and union in c?
Write a program to reverse a given number in c?
How we can insert comments in a c program?
What language is c written?
What are header files why are they important?
Explain the red-black trees?
Explain how are portions of a program disabled in demo versions?
Tell me is null always defined as 0(zero)?