Recent content by jnbankwa
-
J
Solve Function & Array Exercise for Students
I've done it and i will have a new one this afternoon and I will post it of the forum if I stuck- jnbankwa
- Post #27
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
please tell me what wrong ? // ExtendedtestA.cpp : Defines the entry point for the application. // Author: // ID: // Version: // Date: 6 Jun 2011 // Description: #include "stdafx.h" #include "gwin.h" using namespace std; const int NUMSTUDENTS = 11;int ID [NUMSTUDENTS] = {10001, 10011, 10012...- jnbankwa
- Post #25
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
that my main problem and i cannot solve it- jnbankwa
- Post #22
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
// ExtendedtestA.cpp : Defines the entry point for the application. // Author: // ID: // Version: // Date: 6 Jun 2011 // Description: #include "stdafx.h" #include "gwin.h" using namespace std; const int NUMSTUDENTS = 11; /*int ID [NUMSTUDENTS] = {10001, 10011, 10012, 1004, 1005, 1006, 1007...- jnbankwa
- Post #20
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
Gwin.clear(); marks marks[NUMSTUDENTS]; Gwin.setPenColour(BLACK); char ave[80]; sprintf(ave, "Average is %d %f", listing[n].Score.WhoMarked/11, Marks); Gwin.writeText(10, y, ave); Gwin.writeInt(0,0,"Marker marked giving an average of "); Gwin.writeInt(10,0,"Marker marked...- jnbankwa
- Post #18
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
it still not working GWindow Gwin; ifstream file("marks.txt"); // Clear the Gwin window double ID=0; int y=20; int i=0; double Score=-1; int Whomarked; char most; Gwin.clear(); marks marks[NUMSTUDENTS]; Gwin.setPenColour(BLACK); char ave[80]; sprintf(ave, "Average is %d %f"...- jnbankwa
- Post #17
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
the new program is below but the same problem // ExtendedtestA.cpp : Defines the entry point for the application. // Author: // ID: // Version: // Date: 6 Jun 2011 // Description: #include "stdafx.h" #include "gwin.h" using namespace std; const int NUMSTUDENTS = 11; /*int ID [NUMSTUDENTS] =...- jnbankwa
- Post #15
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
If you want to use a textbook example and convert it to Gwin, the rule is: if the textbook says count<<X; you look at the TYPE of the variable X, and replace this line by a call to Gwin.writeInt(X); or Gwin.writeDouble(X); or Gwin.writeText(X); depending on what the type was int or...- jnbankwa
- Post #11
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
thanks- jnbankwa
- Post #10
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include <iostream> #include "gwin.h" #pragma once #include "resource.h"- jnbankwa
- Post #8
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
Dear from the exercises written in 3 part I have done until the last part which I have to display in one line a Marker 1 Marked ( Mark) giving an average of ( average) and in the second line the same Market 2 Marked ( mark) giving an average of ( average) ...- jnbankwa
- Post #6
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
I need to display in Gwin.writeText(10,10,"Marker 1 Marked giving an average of "); Gwin.writeText(10,30,"Market 2 Marked giving an average of "); Marker 1 Marked giving an average of...- jnbankwa
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
these codes has been written myself but is not working properly- jnbankwa
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
J
Solve Function & Array Exercise for Students
Dear please read this exercise and the codes and tells me what wrong with you codes Part 1 You are provided with a skeleton program, where the data is stored in arrays. Your task is to add the code that will do the following: Examine the data in the arrays. The data shows the results from...- jnbankwa
- Thread
- Array Function
- Replies: 26
- Forum: Engineering and Comp Sci Homework Help