print 1-50 with two loop & two print Statement
Answers were Sorted based on User's Feedback
Answer / ksambhaji999
For(i=1;i<50;i=i
+2)
{ printf
("%d",i);
for(j=2;j<51;j++)
{ printf
("%d",j);}
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravindra kushwaha
for(int i=1;i<=25;i++)
{
printf("%d",i)
}
for(int j=25;j<=50;j++)
{
printf("%d",j)
}
Is This Answer Correct ? | 1 Yes | 0 No |
Why c language is called c?
FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
what is Structural oriented language? give some example of this language.....?
Can static variables be declared in a header file?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What is spark map function?
wat is the difference between array and pointer?
Meaning of () in c
What is an lvalue?
How do I initialize a pointer to a function?
While(1) { } when this loop get terminate is it a infinite loop?
How can I get random integers in a certain range?