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
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What does it mean when someone says I oop?
What is abstraction in oop?
What is oops concept with example?
What is methods in oop?
What is a class oop?
What is class and object in oops?
#include
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is new keyword in oops?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
explain sub-type and sub class? atleast u have differ it into 4 points?
Why do we use inheritance?
What is object and class in oops?
Why is destructor used?