print 1-50 with two loop & two print Statement

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of operators?

600


What is action and transformation in spark?

600


What is array of pointers to string?

573


Can we increase size of array in c?

544


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3735






What is a static function in c?

625


What is structure padding and packing in c?

626


Is python a c language?

555


What are actual arguments?

649


What is pointer in c?

745


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1500


What is the difference between typedef and #define?

552


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1742


Why does everyone say not to use gets?

612


What are the characteristics of arrays in c?

616