In the tollowing program, rewrite the line that contains syntax error (errors) in the correct way in the provided space, tor example soe line 1. Notioe: in this code the correct value of ymust be: y = Vx1 + 2 e* 1. winclude [iostrean] // 1. wincludeciostream> 2. winclude cenath> 3. using namespace; 4. includecstring> 5. int main(); 6. ( 7. string Name1- "Mohamed"; 8. string nume2 - "A"; 9. string name 3; 10. int ID2-111; 11. int ID2 (222) ; 12. int ID3 I 13. double xii 14. double yi 15. cout « " Enter nane3 :; 16. cin >> Name3 ; 17. cout « " Enter ID3 :"> ID3>>endl; 19. cout « " The ID of " << Namel << " and " « Name2 « " added in id3 -"; 20. ID3 ID1- I02) 21. cout « ID1; 22. cout « " Please enter the value of x :"> x; 24. y- sqrt( pow(x, 4) +2)) - exp(x); 25. cout <« 26. return o1 The value of y is i"« Y
In the tollowing program, rewrite the line that contains syntax error (errors) in the correct way in the provided space, tor example soe line 1. Notioe: in this code the correct value of ymust be: y = Vx1 + 2 e* 1. winclude [iostrean] // 1. wincludeciostream> 2. winclude cenath> 3. using namespace; 4. includecstring> 5. int main(); 6. ( 7. string Name1- "Mohamed"; 8. string nume2 - "A"; 9. string name 3; 10. int ID2-111; 11. int ID2 (222) ; 12. int ID3 I 13. double xii 14. double yi 15. cout « " Enter nane3 :; 16. cin >> Name3 ; 17. cout « " Enter ID3 :"> ID3>>endl; 19. cout « " The ID of " << Namel << " and " « Name2 « " added in id3 -"; 20. ID3 ID1- I02) 21. cout « ID1; 22. cout « " Please enter the value of x :"> x; 24. y- sqrt( pow(x, 4) +2)) - exp(x); 25. cout <« 26. return o1 The value of y is i"« Y
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
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 3 steps with 1 images
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.Similar questions
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education