12 #include 13 #include "complex.h" 14 #include 15 using namespace std; 16 int main(int argc, char **argv) 17- int main() { 18 Complex ze(3.6, 4.8); Complex z1(4, -2); 19 20 } 21- { 22 23 24 25 Complex ze(3.6,4.8); Complex z1(4,-2); Complex z2(-4,2); Complex 73(-4,-3): complextester.cpp:17:1: error: expected initializer before 'int' 17 | int main() { | ANN complextester.cpp:21:1: error: expected unqualified-id before '{' token 21 | { |
12 #include 13 #include "complex.h" 14 #include 15 using namespace std; 16 int main(int argc, char **argv) 17- int main() { 18 Complex ze(3.6, 4.8); Complex z1(4, -2); 19 20 } 21- { 22 23 24 25 Complex ze(3.6,4.8); Complex z1(4,-2); Complex z2(-4,2); Complex 73(-4,-3): complextester.cpp:17:1: error: expected initializer before 'int' 17 | int main() { | ANN complextester.cpp:21:1: error: expected unqualified-id before '{' token 21 | { |
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 12SA
Related questions
Question
Please help me fix the following errors!!!
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question
Can you please retype this
Please help me fix the following errors!!!
Solution
by Bartleby Expert
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning