print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20
Answer Posted / paru jain
#include<stdio.h>
void main()
{
for(i=1;i<=6;i++)
{
printf("%d",i);
}
printf("\n");
int value = 1;
for(int j=1;j<6;j++
{
value = value+2;
printf("%d",value);
}
printf("\n");
for(int k=2;k<6;k++)
{
int m = j*4;
printf("%d",m);
}
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the difference between exit() and _exit() function in c?
How can I find out the size of a file, prior to reading it in?
How do c compilers work?
What is array of structure in c programming?
What is self-referential structure in c programming?
write a program in c language to print your bio-data on the screen by using functions.
program to convert a integer to string in c language'
plz let me know how to become a telecom protocol tester. thank you.
What is void c?
What is wrong with this statement? Myname = 'robin';
Who invented b language?
What is huge pointer in c?
Explain how to reverse singly link list.
What are predefined functions in c?
What is the difference between far and near ?