Email
Chat with tutors
Login
Ask Questions, Get Answers
Menu
X
home
ask
tuition
questions
practice
papers
mobile
tutors
pricing
X
Recent questions tagged telegram-45411
Questions
(chatquestion)...4. A perfect square is an integer which is the square of another integer. For example, 4,9,16. are perfect squares. Design a class perfect with the following description: Class Name Data Members/instance variables Perfect stores an integer number Member Function Perfect() Perfect(int) Void perfect_sq() default constructors parameterized constructor to assign a value to 'n' to display the first 5 prefect squares larger than 'n' (if n=15, the next 3 perfect squares are 16,25,36) Void sum_of() to display all combinations of consecutives integers whose sum is equal to n. (the number n = 15 can be expressed as 12345 456 78 Specify a class Prefect giving details of the constrcutors(), void perfect_sq(), and void sum_of(). Also define the main function to create an object and call methods accordingly to enable the task.
other
telegram-45411
asked
Jan 16, 2020
by
balaji.thirumalai
1
answer
To see more, click for the
full list of questions
or
popular tags
.
Home
Ask
Tuition
Questions
Practice
Your payment for
is successful.
Continue
...