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
Apart from dennis ritchie who the other person who contributed in design of c language.
How can I get random integers in a certain range?
what are the advantages of a macro over a function?
What is the value of h?
What are the advantages of using new operator as compared to the function malloc ()?
Explain how do you view the path?
What are different types of pointers?
Can an array be an Ivalue?
What is %s and %d in c?
What are the similarities between c and c++?
List the different types of c tokens?
What are valid signatures for the Main function?
What is s in c?
What is the difference between array_name and &array_name?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0