This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Question 2 | |
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() { | |
//PART 1 | |
// define & initialize the following variables: 1. unsigned short | |
unsigned short bob = 2; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Question 1 | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; | |
int xPtr = x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
//Question 8 | |
// the following program is supposed to calculate the average number of hours studied |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FinalExam Q1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FinalExam Q1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FinalExam Q1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FinalExam Q1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FinalExam Q1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <array> | |
using namespace std; | |
int main() { | |
int x = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 8.10 HW#10 | |
a) void zero(long biIntergers[]) | |
b) void zero(long []); | |
c)int add1AndSum(const int oneTooSmall[], int size) | |
d) int add1AndSum(const int[], size); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//HW 7.32 | |
#include<iostream> | |
#include<array> | |
using namespace std; | |
void num(int array[ ], int size); | |
int main() | |
{ | |
const int ARRAY_SIZE = 9; | |
int numbers[ARRAY_SIZE] = { 25, 15, 5, 10, 0, 35, 20, 30, 40 }; |
NewerOlder