Hello I have to make program that solves equation like this:
x=y*E*6.6(0.7-z) where 'z' is going from -1 to 5 with step size 0.2 .When 'z' is between 0.6 and 1 'y' changes to 0.82 and for the other cases 'y' = 0.63.
Prin x,y,z.
So far,but I get too many errors.I'll be pleased if someone help me I'm kinda lost.
Errors I get:
(18,12) : Call of nonfunction.
(25,5) : If statement missing )
(31,1) : do statements must have while
(32,1) : Compound statement missing }
(32,1) : 'x' is declared but never used
(32,1) : 'y' is declared but never used
Thank you very much!Now its working fine.Theres only one thing.When i start it it gives me for x= ; y= ; z= ; only one value I need it to print the values for each step.
Im making a C++ program sorry for my bad coding if I even can call t like that I'm in yet in the begining to get the idea here.When I place std::cout it gives me another error saying.
Warn : NONAME00.CPP(16,7):Possible use of 'y' before definition
Error: NONAME00.CPP(29,19):Qualifier 'std' is not a class or namespace name
Error: NONAME00.CPP(29,21):Statement missing ;
Warn : NONAME00.CPP(36,2):'x' is assigned a value that is never used
Error: NONAME00.CPP(3,2):Unable to open include file 'CMATH.h'
Warn : NONAME00.CPP(16,7):Possible use of 'y' before definition
Error: NONAME00.CPP(25,8):Qualifier 'std' is not a class or namespace name
Error: NONAME00.CPP(25,10):Statement missing ;
Error: NONAME00.CPP(26,8):Qualifier 'std' is not a class or namespace name
Error: NONAME00.CPP(26,10):Statement missing ;
Error: NONAME00.CPP(27,8):Qualifier 'std' is not a class or namespace name
Error: NONAME00.CPP(27,10):Statement missing ;
Warn : NONAME00.CPP(36,2):'x' is assigned a value that is never used
can u help me with this pliz?
Write a C++ code that implements a Doubly Linked List structure that contains Integer
elements, and then do the following:
1. Implement the necessary member functions (insert, display, and search).
2. Implement a function “DoublyLinkedList getUnion(DoublyLinkedList L2)” that
displays the union of the calling list (L1) and L2.
3. Implement a sample run of the getUnion function.
Example: input L1 = 1, 2, 3, 4
L2 = 2, 5, 4, 6
output L3 = 1, 2, 3, 4, 5, 6