1 Answer - Sort by: Date | Rating
#include
void main()
{
// Define integers
int x;
// Input the required number like 5, 6, or any other
cin>>x;
//For loop for the number to be printed
for(int tc=1;tc<=x;tc++)
{
// For loop for how many times the number to be printed.
for(int b=1;b<=tc;b++)
// Show or print the number
count<<,tc // Don't put comma before tc. I put it because of HTML reasons
cout<<"n";
}
}
Enjoy blurting :)
void main()
{
// Define integers
int x;
// Input the required number like 5, 6, or any other
cin>>x;
//For loop for the number to be printed
for(int tc=1;tc<=x;tc++)
{
// For loop for how many times the number to be printed.
for(int b=1;b<=tc;b++)
// Show or print the number
count<<,tc // Don't put comma before tc. I put it because of HTML reasons
cout<<"n";
}
}
Enjoy blurting :)
0
0
- Do While Loop In C++ Output?
- What Is File-based Approach?
- What Is Cascading Rollback?
- How Do I Create An SQL Queries That Show: Student Name, Address, And Contact Information For All Students? Student Name And The Certificate Program For Which They Are Registered Student Name And The Courses For Which They Are Registered?
- I Need To Create A System Where Students Can Register For One Of 5 Certificates, Select Courses, And Obtain A Transcript Of The Grades Received For The Courses. Each Student Can Be Enrolled For Only One Certificate. There Are 4 Courses In Each Cert?
- How The Efficiency And Integrity Of The Data Is Maintained At All Times Although The Database Is Used By Varying Organisational Levels? 2 Examples
- What Is An Attribute In Java?
- How About Links Of London?
- When You Create A New COM Component In Visual Basic, You Choose The Following Template?
- Why Do We Use Public Static Void Main In Java?
- What Parts Of Wordpad?
- What Do You Mean By Index?
- What Is Indexed File Organization?
- How The Performance Of Database?
- How Is That The Additional Hardware Affect The Data Base Management System?
- How Do You Automate Starting And Shutting Down Of Databases In Unix?
- How Design An Algorithm For The SIMD Computer To Calculate The Sum Of An Array (A) Of 8 Elements. Assume That Element Ai Is Stored In The Local Memory Of PEi, Where I=1,2,3,.......4?
- Do I Have To Write A Main Method In Every Class I Create?Why?
- Do I Have To Write A Main Method In Every Class I Create?
- What Is Centralize Database Management System?
- Why We Indicate FF As 0FF In Program?
- When To Apply For Css?
- How Do I Enable Java On My I465?
- What Are Key Features Of Procedural Programming?
- What Is Conceptual Methodology?

New Comment - Comments are editable for 5 min.