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
what is bit rate & baud rate? plz give wave forms
Tell me is null always defined as 0(zero)?
How can I do peek and poke in c?
What is f'n in math?
What is an example of structure?
What are the different categories of functions in c?
Can main () be called recursively?
Explain which function in c can be used to append a string to another string?
If null and 0 are equivalent as null pointer constants, which should I use?
What is a program flowchart?
Explain how can you determine the size of an allocated portion of memory?
What are the 5 types of inheritance in c ++?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is wrong with this program statement? void = 10;
Is c a great language, or what?