name : Ahmed hashem abdelrehim

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

name : Ahmed hashem abdelrehim

Post by answerhappygod »

name : Ahmed hashem abdelrehim
Name Ahmed Hashem Abdelrehim 1
Name Ahmed Hashem Abdelrehim 1 (35.98 KiB) Viewed 37 times
Name Ahmed Hashem Abdelrehim 2
Name Ahmed Hashem Abdelrehim 2 (35.98 KiB) Viewed 37 times
Name Ahmed Hashem Abdelrehim 3
Name Ahmed Hashem Abdelrehim 3 (44 KiB) Viewed 37 times
(a) Design, write and compile a C++ program to display the following output: "My name is --(Type your name) My student ID No. is. ..(Type your student ID) I love C++ Programming." - EE209/BEE1053 Computing for Engineers () Design, write and compile a C++ program to display the output in Question 1(a) inside a box drawn with asterisks 2. (a) Design, write and compile a C++ program to display the following output using setwo, setprecision(), setiosflagse): Radians ***** Degrees 57.2958 572.9580 1145.9200 1718.87000 22913000 (b) What is the minimum number of cout statements that could be used to print the above output? (c) Explain your choice of coding style with your chosen number of cout statements. Design, write and compile a CH program to calculate and display the midpoint coordinates of the line segment connecting the two endpoints given by the formula ((x1+x2/2). (y1+y292) Your program should prompt the user to iput the values of xl, x2, yl and y2, then calculate and display the midpoint coordinates. Verify your program by using the following test data: Point 1 = (10.2) and Point 2 = (6,12) i.e x1 =10, x2 = 6, y1 = 2 and y2 = 12

My student ID No.is (lype your student ID). I love C++ Programming." - EE209/BEE1053 Computing for Engineers (b) Design, write and compile a C++ program to display the output in Question 1(a) inside a box drawn with asterisks (*). 2. (a) Design, write and compile a C++ program to display the following output using setw(), setprecision(), setiosflags(): Radians 1 10 20 30 40 Degrees 57.2958 572 9580 1145.9200 1718.87000 229183000 (b) What is the minimum number of cout statements that could be used to print the above output? (c) Explain your choice of coding style with your chosen number of cout statements. Design, write and compile a C++ program to calculate and display the midpoint coordinates of the line segment connecting the two endpoints given by the formula ((x1+x2/2), (y1+y2)/2) Your program should prompt the user to put the values of xl. x2, yl and y2, then calculate and display the midpoint coordinates. Verify your program by using the following test data: Point 1 = (10,2) and Point 2 = (6,12) i.e; x1 =10, x2 = 6, y1 = 2 and y2 = 12 Next, use your program to complete the following chart. Midpoint First Point 140 (223) -108 -12,2) 3.1.6 01-6 Second Point (16,180 18.123 (14.41 (141) (20.16
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply