please give code for this 1 2 4 7 11 16
Answer Posted / ashis 6
#include<studio.h>
#include<conio.h>
Void main()
{
Int x,y;
Y=0;
For(x=1;x<=6;x++)
{
Printf("%d",y);
Y=x+y
}
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Tell me about low level programming languages.
Should I learn c before c++?
How can you find out how much memory is available?
How do you define a string?
Give differences between - new and malloc() , delete and free() ?
What are the advantages of using Unions?
What oops means?
Describe the steps to insert data into a singly linked list.
What is the difference between class and object in c?
Why can’t we compare structures?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
i got 75% in all semester am i eligible for your company
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
Explain how can I remove the trailing spaces from a string?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.