ASDV-Cpp/Assignments/lab1_CalebFontenot/main.cpp

31 lines
625 B
C++

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

/*
* 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:05AM
*/
#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;
}