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 object and class in oops?
write string class as your own class in java without using any built-in function
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is byval and byref? What are differences between them?
2. Give the different notations for the class.\
hi all..i want to know oops concepts clearly can any1 explain??
• What are the desirable attributes for memory managment?
What is object in oops?
What is for loop and its syntax?
What is difference between inheritance and polymorphism?
What is the example of polymorphism?
What is the importance of oop?
What is the oops and benefits of oops programming?
How do you define a class in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?