WAP to generate 2n+1 lines of the following pattern on the
computer screen:
Answer Posted / krishnan
*
* *
* *
* *
* *
* *
*
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why do we use class in oops?
Templates mean
What is polymorphism in oop example?
Can bst contain duplicates?
How many human genes are polymorphic?
Which type does string inherit from?
Why do we use class?
What are oops functions?
How oops is better than procedural?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are functions in oop?
What are the 3 pillars of oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is destructor example?
Can we have inheritance without polymorphism?