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


Please Help Members By Posting Answers For Below Questions

Why do we use class in oops?

764


Templates mean

1862


What is polymorphism in oop example?

770


Can bst contain duplicates?

966


How many human genes are polymorphic?

816


Which type does string inherit from?

860


Why do we use class?

843


What are oops functions?

798


How oops is better than procedural?

852


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2079


What are functions in oop?

801


What are the 3 pillars of oop?

896


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.

971


What is destructor example?

792


Can we have inheritance without polymorphism?

821