first commit
This commit is contained in:
30
Assignments/lab1_CalebFontenot/main.cpp
Normal file
30
Assignments/lab1_CalebFontenot/main.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user