31 lines
625 B
C++
31 lines
625 B
C++
|
/*
|
|||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
|||
|
* Click nbfs://nbhost/SystemFileSystem/Templates/cppFiles/main.cc to edit this template
|
|||
|
*/
|
|||
|
|
|||
|
/*
|
|||
|
* File: main.cpp
|
|||
|
* Author: caleb
|
|||
|
*
|
|||
|
* Created on February 23, 2024, 11:05 AM
|
|||
|
*/
|
|||
|
|
|||
|
#include <iostream>
|
|||
|
#include <cmath>
|
|||
|
|
|||
|
using namespace std;
|
|||
|
|
|||
|
/*
|
|||
|
*
|
|||
|
*/
|
|||
|
int main(int argc, char** argv) {
|
|||
|
string s = "\nhello\n";
|
|||
|
cout << s << "Enter two numbers: ";
|
|||
|
int number1, number2;
|
|||
|
cin >> number1 >> number2;
|
|||
|
cout << number1 << ", "<< number2;
|
|||
|
cout << " pow " << pow(number1, number2);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
|