Display Daimond Shape using cout statement in C++ | Ameer Yousuf - C++ Programs Codes

Latest

Sunday, 31 January 2021

Display Daimond Shape using cout statement in C++ | Ameer Yousuf

 CODE: 

#include<iostream>
using namespace std;
int main(){
cout<<"   *   \n";
cout<<"  ***   \n";
cout<<" *****   \n";
cout<<"  ***   \n";
cout<<"   *   \n";
}

OUTPUT: 




No comments:

Post a Comment

Plz don't enter any spam link in the comment box!