- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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, … |