Webhosting in Pakistan
Page 1 of 2 12 LastLast
Results 1 to 12 of 16

Thread: Square asterisk Program!

  1. #1
    ithoun is offline Senior Member+
    Last Online
    16th September 2014 @ 06:43 PM
    Join Date
    31 May 2010
    Posts
    176
    Threads
    38
    Credits
    760
    Thanked
    24

    Smile Square asterisk Program!

    Webhosting in Pakistan
    AS-SALAM-O-ALIUKUM..!!


    #include<iostream.h>
    #include<conio.h>
    #include<math.h>
    void main()
    {
    int i,j,k;
    char chk;
    do{
    clrscr();
    for(i=1; i<=5; i++)
    {
    if(i==1)
    { for(j=1; j<=9; j++)
    {
    cout<<"*";
    }
    }
    cout<<"\n";
    cout<<"*\t*";
    if(i==5)
    {
    cout<<"\n";
    for(k=1; k<=9; k++)
    cout<<"*";
    }
    }
    cout<<endl<<"\n\nProgram By Raza VVise\nPress Y to Run Program Again or Press Any Other Key To EXIT";
    chk=getche();
    }while(chk=='y' || chk=='Y');
    }

  2. The Following 3 Users Say Thank You to ithoun For This Useful Post:

    AlOnEbOy (14th August 2012), HASEEB610 (30th August 2012), rjamily2 (1st May 2012)

  3. #2
    ithoun is offline Senior Member+
    Last Online
    16th September 2014 @ 06:43 PM
    Join Date
    31 May 2010
    Posts
    176
    Threads
    38
    Credits
    760
    Thanked
    24

    Default

    output
    Attached Images Attached Images  

  4. The Following User Says Thank You to ithoun For This Useful Post:

    rjamily2 (1st May 2012)

  5. #3
    aamir-khan99 is offline Junior Member
    Last Online
    21st April 2012 @ 01:22 PM
    Join Date
    28 Mar 2012
    Age
    29
    Gender
    Male
    Posts
    1
    Threads
    0
    Credits
    0
    Thanked: 1

    Default


  6. The Following User Says Thank You to aamir-khan99 For This Useful Post:

    waseembhtt (16th April 2012)

  7. #4
    waseembhtt is offline Senior Member+
    Last Online
    27th June 2015 @ 10:01 PM
    Join Date
    16 Jun 2010
    Location
    Rawalpindi
    Age
    34
    Posts
    247
    Threads
    3
    Credits
    830
    Thanked
    12

    Default

    Thanks

  8. The Following User Says Thank You to waseembhtt For This Useful Post:

    ithoun (17th April 2012)

  9. #5
    ithoun is offline Senior Member+
    Last Online
    16th September 2014 @ 06:43 PM
    Join Date
    31 May 2010
    Posts
    176
    Threads
    38
    Credits
    760
    Thanked
    24

    Default

    amir khan & waseem butt thanks for ur feedback & response..

  10. #6
    samrah is offline Junior Member
    Last Online
    5th April 2013 @ 09:18 PM
    Join Date
    16 Jul 2012
    Location
    lahore
    Age
    25
    Gender
    Female
    Posts
    27
    Threads
    2
    Credits
    0
    Thanked: 1

    Default

    good programing but agr identation aur achi hoti to c++ new learners ko coding smjne me asani hoti

  11. #7
    prince_imtiaz is offline Junior Member
    Last Online
    3rd May 2015 @ 11:09 PM
    Join Date
    07 Dec 2010
    Age
    29
    Gender
    Male
    Posts
    24
    Threads
    4
    Credits
    0
    Thanked
    0

    Default

    good

  12. #8
    AlOnEbOy is offline Senior Member+
    Last Online
    5th October 2013 @ 10:03 PM
    Join Date
    09 Aug 2010
    Location
    Peshawar
    Gender
    Male
    Posts
    109
    Threads
    13
    Credits
    710
    Thanked
    2

    Default

    hmmmmmmm
    very nice

  13. #9
    fahadil is offline Junior Member
    Last Online
    15th February 2020 @ 10:45 AM
    Join Date
    20 Jul 2010
    Posts
    14
    Threads
    0
    Credits
    -1
    Thanked
    0

    Default

    Very Nice but yar mere khayal ke mutabiq is programm me math.h ki koi zarorat nai thi.

  14. #10
    Dilawarkhan is offline Junior Member
    Last Online
    3rd July 2017 @ 02:24 PM
    Join Date
    29 Aug 2009
    Location
    Hyderabad
    Posts
    9
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    great...

  15. #11
    swordartonli is offline Junior Member
    Last Online
    10th December 2012 @ 04:42 AM
    Join Date
    08 Dec 2012
    Gender
    Male
    Posts
    17
    Threads
    2
    Credits
    0
    Thanked
    0

    Default

    it is great

  16. #12
    padd is offline Junior Member
    Last Online
    7th December 2013 @ 11:49 AM
    Join Date
    07 Apr 2013
    Age
    30
    Gender
    Male
    Posts
    23
    Threads
    2
    Credits
    0
    Thanked: 1

    Default

    Webhosting in Pakistan
    nice

Page 1 of 2 12 LastLast

Similar Threads

  1. program plz 4
    By PREMkhan in forum Ask an Expert
    Replies: 1
    Last Post: 26th May 2010, 12:53 AM
  2. Share ur Eid Program
    By ussmaan in forum Baat cheet
    Replies: 3
    Last Post: 21st September 2009, 01:46 AM
  3. Replies: 8
    Last Post: 19th May 2009, 06:51 PM
  4. Accounts ke lye program konsa hai.PLZ URGENT REPLY ME
    By babarali552889 in forum Solved Problems (IT)
    Replies: 3
    Last Post: 24th June 2006, 05:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •