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 |
Is it acceptable to declare/define a variable in a c header?
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.
c program to manipulate x=1+3+5+...+n using recursion
How can I invoke another program from within a C program?
What are the disadvantages of external storage class?
What is the difference between abs() and fabs() functions?
What should be keep precautions while using the recursion method?
who is the founder of c
19 Answers College School Exams Tests, HP,
What is pragma in c?
I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.
What is a class c rental property?
Explain how can I make sure that my program is the only one accessing a file?