diff options
| author | Wyatt <[email protected]> | 2022-10-18 20:12:53 -0700 |
|---|---|---|
| committer | Wyatt <[email protected]> | 2022-10-18 20:12:53 -0700 |
| commit | 1577303be92bd63c5614341fe826cbad86f3b505 (patch) | |
| tree | 9eaf33a242c494d02e814ebfe291636b31e79bfa | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | archived-cst116-lab1-johnson-1577303be92bd63c5614341fe826cbad86f3b505.tar.xz archived-cst116-lab1-johnson-1577303be92bd63c5614341fe826cbad86f3b505.zip | |
first changes
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 24 | ||||
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.vcxproj | 8 |
2 files changed, 24 insertions, 8 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed5f807..21341ed 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,16 +1,32 @@ // BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there. // +/* + Wyatt Johnson + CST 116 + Lab1 +*/ #include <iostream> using namespace std; -using std::cout; -using std::cin; -using std::endl; int main() { - cout << "Hello World!\n"; + float width = 0, height = 0; + float area; + + cout << "Please input your kites width: "; + cin >> width; + + cout << endl; + + cout << "Please input your kites height: "; + cin >> height; + cout << endl; + + cout << "Your kites width will be: " << width << "\nYour kites height will be: " << height << endl; + + } diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj b/BlankConsoleLab/BlankConsoleLab.vcxproj index db2e734..d2e3ee2 100644 --- a/BlankConsoleLab/BlankConsoleLab.vcxproj +++ b/BlankConsoleLab/BlankConsoleLab.vcxproj @@ -29,26 +29,26 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> - <PlatformToolset>v142</PlatformToolset> + <PlatformToolset>v143</PlatformToolset> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> </PropertyGroup> |