My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Question #32511
write a program for the following way
1
12
123
1234
12345
Expert's answer
#include <iostream>
using namespace std;
int main(void)
{
int i, j, n;
cout <<"Enter number: ";
cin >> n;
for(i = 1; i<= n; i++)
{
cout<< endl;
for(j = 1;j <= i; j++)
cout<< j;
}
return 0;
}
Our fields of expertise
Programming
Math
Engineering
Economics
Physics
LATEST TUTORIALS
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult. You can find this expert in "Assignmentexpert.com" with confidence. Exceptional experts! I appreciate your help. God bless you!
#340153
on Dec 2023
Read all reviews >>