Suggested for Exam 1

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

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

View Full Document Right Arrow Icon
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};
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/30/2008 for the course EE 361 taught by Professor Conry during the Spring '08 term at Clarkson University .

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online