how to write a java program for an output
****0 ***01 **012 *0123 01234
Answer Posted / adeel
#include<iostream>
using namespace std;
int main()
{
int i,j;
for(i=0; i<=5; i++)
for(j=1; j<=i; j++)
cout<<j;
system("pause");
return 0;
}
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what is the drawback of classical methods in oops?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is the purpose of polymorphism?
What is multilevel inheritance explain with example?
What is coupling in oops?
What is destructor example?
What does sksksk mean in text slang?
What is the oops and benefits of oops programming?
What are the 5 oop principles?
What is the important feature of inheritance?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What are the features of oop?
What is class and object in oops?
Which language is not a true object oriented programming language?
How to call a non virtual function in the derived class by using base class pointer