Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: anga08628
Forum: C++ Nov 17th, 2007
Replies: 12
Views: 7,005
Posted By anga08628
yes i did.
it this:





#include <iostream>
#include <ctime> // For time()
#include <cstdlib> // For srand() and rand()
Forum: C++ Nov 16th, 2007
Replies: 12
Views: 7,005
Posted By anga08628
okay so the second part of this assingment is: Using a sort routine of your choice, sort the numbers in each of the rows of the array and display the sorted numbers again on 5 lines of 10 numbers...
Forum: C++ Nov 13th, 2007
Replies: 12
Views: 7,005
Posted By anga08628
what do you mean? i need to place the rand( ) statement inside the innermost loop, assigning that value to an array element.

how would i do that?
Forum: C++ Nov 9th, 2007
Replies: 12
Views: 7,005
Posted By anga08628
Define a 5 x10 2-dimensional array of integers (5 rows of 10 columns), randomly generate 50 numbers between 1 and 100, assign them to the array elements and display all the numbers on 5 lines of 10...
Forum: C++ Nov 6th, 2007
Replies: 8
Views: 2,391
Posted By anga08628
WHAT WOULD BE ANOTHER WAY I COULD WRITE THE LAST PART OF THIS FUNCTION?






//Write a function: int max(int list[], int n) that recursively finds the largest integer between list[0] and...
Forum: C++ Nov 5th, 2007
Replies: 8
Views: 2,391
Posted By anga08628
so is int list[] an array? and i would have to call every element of it?
Forum: C++ Nov 5th, 2007
Replies: 8
Views: 2,391
Posted By anga08628
//Write a function: int max(int list[], int n) that recursively finds the largest integer between list[0] and list[n]. Assume at least one element in the list. Test it with a main program that...
Forum: C++ Oct 26th, 2007
Replies: 2
Views: 1,680
Posted By anga08628
Define a structure called Class with the following data:
title (class title), units (number of units) and grade (letter grade received for the class).
Define a structure called Student with the...
Forum: C++ Oct 9th, 2007
Replies: 2
Views: 9,421
Posted By anga08628
Write a C++ program that will read user's full name into a C-string. User will enter first name followed by one or more spaces and then the last name. Also, obtain user's student ID also into a...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC