|
-
March 6th, 2012, 03:11 AM
#1
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.
-
March 6th, 2012, 03:13 AM
#2
-
March 6th, 2012, 03:23 AM
#3
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
-
March 6th, 2012, 08:12 AM
#4
Re: c++
 Originally Posted by asim khan
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|