Friday, May 20, 2022

NEW PATTERN USING NASTED FOR #THEHACKERS@

 #include<iostream>

using namespace std;



int main()

{

    int i;

    for(i=0;i<9;i++)

    {

        for(int j=0;j<9;j++)

        {

            if(i+j>9-1)

            {

                cout<<" * ";

            }

        }

        cout<<endl;

    }

    return 0;

}

No comments:

Post a Comment

CONSTRUCTURE IN PARENT CLASS

class Parent {     public Parent()     {         System.out.println("Parent Constrcutor");     }              } class Child extend...