print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20

Answer Posted / sourav das

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
for(i=1;i<=6;i++)
printf("%d",i);
printf("\n");
for(j=3;j<=11;j=j+2)
printf("%d",j);
printf("\n");
for(k=8;i<=20;k=k+4)
printf("%d",k);
getch();
}

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a protocol in c?

558


Explain how do you use a pointer to a function?

640


What is a spanning Tree?

950


How do I get a null pointer in my programs?

618


What is a function in c?

571






What is a program?

663


How do you do dynamic memory allocation in C applications?

630


What is c basic?

599


How do you redirect a standard stream?

624


Discuss the function of conditional operator, size of operator and comma operator with examples.

678


What is c language in simple words?

595


What is wrong with this declaration?

611


Where are local variables stored in c?

570


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1464


What is a far pointer in c?

592