Q.3) Write C++ code to print a table. The table has n (rows) numbers which are entered by the user. Then the program will show the user three choices (use function for each choice) to print a table:1) print odd, even numbers and the square of each number.2) print cos, sin, and the square root of each number.3) print the numbers that dividable by 3, 4 , and 5.as shown bellow:
Q.3) Write C++ code to print a table. The table has n (rows) numbers which are entered by the user. Then the program will show the user three choices (use function for each choice) to print a table:1) print odd, even numbers and the square of each number.2) print cos, sin, and the square root of each number.3) print the numbers that dividable by 3, 4 , and 5.as shown bellow:
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 10PE
Related questions
Question
![Q.3) Write C++ code to print a table. The table has n (rows) numbers which are
entered by the user. Then the program will show the user three choices (use
function for each choice) to print a table:1) print odd, even numbers and the
square of each number.2) print cos, sin, and the square root of each number.3)
print the numbers that dividable by 3, 4, and 5.as shown bellow:
many numbers de you t in yut tHl:
EHCer the ulemerit of y ur Lable an by ori
chose one of the toliedng operetions:
) print aad nub vn naberg and sgaare ef the uniter
2) print csins, aine and square maot af the mumias
) print thm numers thwt dividabls by a or d tee
Mumbers
Sers
Even
Even
Even
en
scass axitat ster 45 0 ecds ith retunn walan dh
ess any y E ontsnue](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9b3e9320-7ebe-4205-a792-26fd3639ec51%2F04414e6b-5d2d-40fb-bfbb-1bd70faa8acf%2F2b0fd2_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q.3) Write C++ code to print a table. The table has n (rows) numbers which are
entered by the user. Then the program will show the user three choices (use
function for each choice) to print a table:1) print odd, even numbers and the
square of each number.2) print cos, sin, and the square root of each number.3)
print the numbers that dividable by 3, 4, and 5.as shown bellow:
many numbers de you t in yut tHl:
EHCer the ulemerit of y ur Lable an by ori
chose one of the toliedng operetions:
) print aad nub vn naberg and sgaare ef the uniter
2) print csins, aine and square maot af the mumias
) print thm numers thwt dividabls by a or d tee
Mumbers
Sers
Even
Even
Even
en
scass axitat ster 45 0 ecds ith retunn walan dh
ess any y E ontsnue
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
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
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
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…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning