Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
0 Endorsements
~679 People Reached
Favorite Forums
Favorite Tags
c++ x 8
Member Avatar for stonecoldstevea

In this question you have to write a program consisting of two functions. A string has to be input in the main function and then a string function, namely shorterString, has to be called to shorten the string by deleting (“erasing”) every third character of the string. This has to …

Member Avatar for Killer_Typo
0
121
Member Avatar for stonecoldstevea

One-dimensional arrays in a function Ten students do a multiple choice assignment consisting of twenty questions. The lecturer wants to display their names and the mark obtained by each on the screen. Write a program to help him. Declare two global constants, namely NR_STUDENTS (set equal to 10) and NR_QUESTIONS …

Member Avatar for JRM
-3
101
Member Avatar for stonecoldstevea

Need to write c++ code that calls a function and validate the moduleCode with a do...while loop. I ca'nt get the function to go out the loop Pleez help void inputAndValidate(string &moduleCode,int &numberHours) { string ABC111,DEF112,XYZ113; do { cout << " Enter module code: "; cin >> moduleCode; } while …

Member Avatar for jaepi
0
106
Member Avatar for stonecoldstevea

I need to validate the moduleCode by a do...while loop. But my code does'nt exit the loop - Not sure if I did right thing by declaring the string ABC111 before the loop - please help urgently using namespace std; // function inputAndValidate should be inserted here void inputAndValidate(string &moduleCode,int …

Member Avatar for stonecoldstevea
0
87
Member Avatar for stonecoldstevea

Need help urgenlty -please I'm new to the forum and request help I need to write code containing a for loop from 1 to 30.everytime the loop is executed, the answers of one respondent to each of the 3 questins, should be inputed - Q1. how old are you, Q2, …

Member Avatar for thekashyap
0
264