Page 3 of 6 FirstFirst 123456 LastLast
Results 25 to 36 of 64

Thread: <= Assignment =>

  1. #25
    rehman_ckj is offline Junior Member
    Last Online
    11th October 2011 @ 09:42 AM
    Join Date
    01 Mar 2009
    Posts
    1
    Threads
    0
    Credits
    1,050
    Thanked
    0

    Default

    salam
    kaya haal hai doston mujay Allama Iqbal University ki 2008 atumm ki hal Assinment chaheye

  2. #26
    MOHAMMAD JAWAAD is offline Senior Member+
    Last Online
    9th March 2011 @ 11:30 PM
    Join Date
    08 Jul 2009
    Posts
    34
    Threads
    1
    Credits
    965
    Thanked
    12

    Default

    #include<iostream.h>
    void main()
    {
    int num1,Num2;
    cout<<endl<<"WELCOME TO THE C++ PROGRAM"<<endl;
    cout<<"PLEASE ENTER FIRST NUMBER"<<endl;
    cin>>num1;
    cout<<"PLEASE ENTER SCOND NUMBER"<<endl;
    cin>>num2;
    cout<<endl<<"SUM OF TWO NUMBERS IS = "<<num1+num2<<endl;
    cout<<endl<<"PRODUCT OF TWO NUMBERS IS = "<<num1*num2<<endl;
    }

  3. #27
    loinheart's Avatar
    loinheart is offline Senior Member+
    Last Online
    17th July 2010 @ 12:53 PM
    Join Date
    10 Jul 2009
    Age
    34
    Posts
    58
    Threads
    6
    Credits
    945
    Thanked: 1

    Default

    sallamz to all
    bhai mujh ko dreamweaver ka setup chiyae yaar plz koi send karde yaar bhai pl z mujh ko

  4. #28
    smrat_boy's Avatar
    smrat_boy is offline Advance Member
    Last Online
    8th December 2020 @ 06:37 PM
    Join Date
    05 Apr 2009
    Location
    hafizabad
    Age
    34
    Posts
    2,052
    Threads
    320
    Credits
    100
    Thanked
    176

    Default

    i dnt understand

  5. #29
    Join Date
    11 Jul 2008
    Location
    Faisalabad
    Age
    34
    Gender
    Male
    Posts
    369
    Threads
    38
    Credits
    945
    Thanked
    0

    Default

    jnab main newcomer hn hum ko samjhaye ga

  6. #30
    Ganxtr's Avatar
    Ganxtr is offline Advance Member
    Last Online
    5th July 2019 @ 09:15 AM
    Join Date
    15 Nov 2009
    Location
    CRIME CITY
    Posts
    1,740
    Threads
    18
    Credits
    83
    Thanked
    100

    Default

    Great
    your thread is very nice, thanks 4 sharing with us!

  7. #31
    blackspider is offline Junior Member
    Last Online
    15th March 2014 @ 12:36 AM
    Join Date
    09 Mar 2009
    Posts
    2
    Threads
    0
    Credits
    0
    Thanked
    0

    Default Need a program

    Circle Area & Circumference Calculation

    You are required to write a program which will calculate the area and circumference of the circle by declaring a class. You must declare a class named Circle whose only data member will be radius which should be declared as public. You need to define a macro for the value of PI which will be used while calculating the area of the circle.


    Detailed Description:

    • Data member radius should be of type double and it should be declared under public scope.

    • Value for PI should be defined using #define macro.

    • Your class should have two type of constructors:

    1. Default Constructor which should initialize radius of the circle with value 0.

    2. User Defined Constructor which takes class data member radius as its parameter.

    • Declare a public member function named CalculateArea() which calculates the area of the circle. The formula for calculating the area is .

    • Declare a public member function named CalculateCircum() which calculates the circumference of the circle. The formula for calculating the circumference is .

    • Declare a public member function named Display which will display the calculated area and circumference of the circle on the output screen.

    • In the main() function, declare two objects of type Circle:

    o One using default constructor
    o Second using user-defined constructor.

    It should be Display the area and circumference of the circle on the screen like the sample output.


    Sample Output:

    Radius of the Circle = 0
    Area of the Circle = 0
    Circumference of the Circle is = 0


    Radius of the Circle = 3.5
    Area of the Circle = 38.465
    Circumference of the Circle is = 21.98

  8. #32
    blackspider is offline Junior Member
    Last Online
    15th March 2014 @ 12:36 AM
    Join Date
    09 Mar 2009
    Posts
    2
    Threads
    0
    Credits
    0
    Thanked
    0

    Default need help

    i want to know that how can i post any thing in this group?

  9. #33
    Faiz Ahmed 1 is offline Junior Member
    Last Online
    3rd July 2011 @ 02:41 PM
    Join Date
    09 Jun 2011
    Age
    32
    Gender
    Female
    Posts
    3
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    thanks dear

  10. #34
    anaskhalid is offline Advance Member
    Last Online
    15th November 2022 @ 11:09 AM
    Join Date
    23 Jun 2011
    Location
    Karachi
    Gender
    Male
    Posts
    647
    Threads
    13
    Credits
    1,282
    Thanked
    27

    Default

    nice bro i m very thankful to you

  11. #35
    ikram62's Avatar
    ikram62 is offline Anti-spam
    Last Online
    30th March 2024 @ 09:55 PM
    Join Date
    14 Feb 2010
    Location
    Mardan
    Age
    49
    Gender
    Male
    Posts
    9,235
    Threads
    1149
    Credits
    6,062
    Thanked
    801

    Default

    wonderful piece of sharing.
    Keep it up as ever.

  12. #36
    big_boss50 is offline Senior Member+
    Last Online
    2nd January 2016 @ 10:52 PM
    Join Date
    18 Sep 2011
    Location
    gujranwala
    Age
    32
    Gender
    Male
    Posts
    93
    Threads
    3
    Credits
    0
    Thanked
    0

    Default

    nice work

Page 3 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. c++ Assignment Help
    By Nuoman in forum C++
    Replies: 0
    Last Post: 28th October 2015, 09:36 AM
  2. need help for assignment
    By safiullahjan in forum Ask an Expert
    Replies: 6
    Last Post: 22nd February 2014, 12:45 AM
  3. C++ Assignment Help..
    By Murtaza145 in forum Ask an Expert
    Replies: 0
    Last Post: 7th November 2013, 03:23 PM
  4. assignment
    By wasi6 in forum Educational Help
    Replies: 1
    Last Post: 23rd June 2013, 05:55 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
  •