how to make

Jul 1, 2010 at 3:10pm
Write a programe that asks the user to enter the base and the power and gives me the answer please answer today and quickly
Jul 1, 2010 at 3:15pm
no
Jul 1, 2010 at 3:43pm
#1.
This is the General C++ Programming sub-forum, whilst this belongs to Beginners.

#2.
Try to be less demanding and more acceptive with ANY feedback or help you get at all, we are doing this to help others, not to contend other.

#3.
Work on your spelling.

#4.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>
#include <cmath.h>

int main()
{
    double dBase;
    double dPower;
    std::cout << "x^y :: Please enter x\n";
    std::cin >> dBase;
    std::cout << "x^y :: Please enter y\n";
    std::cin >> dPower;
    std::cout << pow(x,y) << "\n";
    system("pause"); // Don't nag about the system call here or I WILL kill you. I am not in the mood to make a slightly more complex alternative - although better - for threads like these. Have a nice day. ~ Kyon
}
Jul 1, 2010 at 3:48pm
closed account (z05DSL3A)
You shouldn't use system("pause");. :¬P


Jul 1, 2010 at 3:57pm
You forgot #5. Don't do other people's homework for them.
Jul 1, 2010 at 4:03pm
Please come over and wash my car. Today and quickly.
Jul 1, 2010 at 4:16pm
Sure thing. I'll be there in a minute.
Jul 1, 2010 at 4:34pm
Come over and clean the board from home-workys...
Jul 1, 2010 at 4:53pm
I really need one of those code obfuscators, can't wait to be posting unreadable code for the next time I come across a homework thread. :P
Jul 1, 2010 at 4:59pm
why just don´t use the visual studio integrated?^^...

Ahhh... Forgot its only for .NET
Last edited on Jul 1, 2010 at 5:00pm
Topic archived. No new replies allowed.