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

What is destructor example?

772


What is abstract class in oop?

748


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1855


What is the importance of oop?

839


program for insertion ,deletion,sorting in double link list

2443


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2984


officer say me - i am offered to a smoking , then what can you say

1844


What is the advantage of oop over procedural language?

846


What is abstraction in oop?

853


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2827


What is inheritance write a program to show use of inheritance?

871


How to hide the base class functionality in Inheritance?

859


what is the drawback of classical methods in oops?

3112


What is polymorphism in oops with example?

768


Why do we use polymorphism in oops?

788