c++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: c++

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    c++

    Write a switch-case menu based calculator program that has the following features.
     Power of a number
     Sum of two floats and one int
     Factorial of a number
     Reciprocal of a number
    First you are required to display the appropriate menu using a display function.



    Write a program to swap two variables without using a third variable as an intermediary
    position.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: c++


  3. #3
    Join Date
    Mar 2012
    Posts
    2

    Re: c++

    Q2:::a=2; b=3;
    a=a*b; // 6
    b=a/b; // 2
    a=a/b; // 3
    now a=3 and b=2

    ????is it true,,,i have errors in it

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,132

    Re: c++

    Quote Originally Posted by asim khan View Post
    Q2:::a=2; b=3;
    a=a*b; // 6
    b=a/b; // 2
    a=a/b; // 3
    now a=3 and b=2

    ????is it true,,,i have errors in it
    What is that supposed to be?

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center