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 |
What is 2c dna?
difference between i++* and *++i
What is the usage of the pointer in c?
Explain how can I remove the trailing spaces from a string?
how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"
What is the real time usage volatile?
a=5 a=a++/++a
In which language linux is written?
What are variables c?
what is the importance of spanning tree?
write a program to compare 2 numbers without using logical operators?
How do you define CONSTANT in C?