Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 48
Member Avatar for sniper29

how can i make an array inside by a function????? so that the value i will input will change.... I am using Borland C++..... how can i start it???? 1. [SOLO] Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of …

Member Avatar for YoDjinthehouse
0
584
Member Avatar for sniper29

[CODE] double indexLowTemp() {ind=1; for (a=0;a<col;a++) {if (low<=temp[a][0]) {low=temp[a][0]; ind=a; } } [/CODE]

Member Avatar for mitrmkar
0
47
Member Avatar for sniper29

[CODE=cplusplus] #include<iostream> using namespace std; int intro(); double getData(); double averageHigh(); double averageLow(); double indexHighTemp(); double indexLowTemp(); double table(); double i,j,hsum=0,lsum=0,aveh,avel,high=0,low=0,ind; int const row=2,col=12,num=12; double temp[row][col]; char month[20][num]={"JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"}; char space[]=" "; int main() {getData(); table(); averageHigh(); averageLow(); indexHighTemp(); indexLowTemp(); return 0; } int intro() { cout<<"||||| |||| ||||| |||| |||| …

Member Avatar for Ancient Dragon
0
206
Member Avatar for sniper29

[SOLO] Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year. Your program must consist of the following functions: a. FunctiongetData:Thisfunctionreadsandstoresdatainthetwodimensionalarray. …

Member Avatar for jephthah
0
398
Member Avatar for sniper29

i have here a code..... can anybody tell me how to:-O change the '*' to 'X' when a user will input his desired seat..... :( #include<iostream.h> #include<conio.h> #include<iomanip.h> int userInput(); int main() { clrscr(); int x,y; const int row= 12,seat= 5; char plane[row][seat]; cout<<"\t\tAirplane Seat Arrangement"<<endl; cout<<"\tA\tB\tC\tD\tE\tF"<<endl; {for (y=1;y<=13;y++) { …

Member Avatar for VernonDozier
-1
263
Member Avatar for sniper29

[SOLO] Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year. Your program must consist of the following functions: a. FunctiongetData:Thisfunctionreadsandstoresdatainthetwodimensionalarray. …

Member Avatar for jephthah
0
488