{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Suggested for Exam 1

# Suggested for Exam 1 - Exam 1 EE361 Spring 2008 Problems...

This preview shows pages 1–2. Sign up to view the full content.

Exam 1 EE361 Spring 2008 Problems Suggested by Students >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Let user input the number of students to enter grades for. Then, grades and names of students are entered into two correlating arrays. Then the system counts the number of people who got each letter grade (an A is between a 90 and a 100, etc) and prints out the class stats (how many people have gotten each grade). >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Declare a new data type that is capable of holding each of the following items: title, authoer, ISBN Number, cost, number of pages, and quantity on hand. Use appropriate data types for each item. (Hint: think struct) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The code below will be used in the following parts of the problem. #include "stdafx.h" using namespace System; int main( array <System::String ^> ^args) { int num1 = 5, num2 = 10, num3 = 0; int *pnum4 = &num1; int pnum5[] = {15, 20, *pnum4}; num2 = pnum5[1]; *pnum4 = num2; pnum4 = pnum5+2; num2 = *pnum4; num3 = *(pnum4-2); Console::ReadLine(); return 0; } a) When the user is prompted for input and the execution pauses what are the values

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern