October 2018 1 43 Report

Mam problem z C++ bez względy co podstawie za a i b funkcja wyświetla zawsze tą samą liczbe , proszę o pomoc.

#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <math.h>
#include <cmath>
using namespace std;

main()
{


float a,b,q;
cin>>a;
cin>>b;
q==pow(a,b);


cout<<q<<endl;
system("PAUSE");
return EXIT_SUCCESS;
}


Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.