write a program to print the all 4digits numbers & whose
squares must me even numbers?
Answer Posted / ruchi
#include<stdio.h>
#include<conio.h>
int main()
{
int i,p;
printf("\nNumbers are ");
for(i=1000;i<=9999;i++)
{
p=(i*i);
if(p%2==0)
{
printf("%d\n",i);
}
}
getch();
}
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is the right type to use for boolean values in c? Is there a standard type?
Why flag is used in c?
Explain function?
Explain which function in c can be used to append a string to another string?
What are multibyte characters?
What is the concatenation operator?
What does s c mean on snapchat?
Describe static function with its usage?
int far *near * p; means
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Explain what math functions are available for integers? For floating point?
Explain pointers in c programming?
What is static function in c?
What's the best way of making my program efficient?