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 |
How can variables be characterized?
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?
What does c in a circle mean?
What does typeof return in c?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
how to make program without <> in library.
What is the difference between functions getch() and getche()?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
how can we print hellow world programme without using semicolon
code for bubble sort?
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.