Question: What are outputs produced by the following code segments? Show all spaces, newlines, and tabs if any are present in the output. a. double
What are outputs produced by the following code segments? Show all spaces, newlines, and tabs if any are present in the output. a. double num= 75; if (num> 90) { cout < 60) { cout < 70) { cout < b. void update(char &c, int count) { c = count + 2; char ch = 'A'; int i; for (i =0; i < 4; i++) update (ch, i); cout < < ch; } ch ch + i; cout < < ch; = C. d. double num = int max = 10; cout < < fixed < Write a function that finds the factorial of a number (n!) Write a function that returns the letter grade for a given score Write a function to convert a small letter to a capital letter Write a function that returns true if a character is a small letter, false otherwise Write a function that returns true if a character is a digit, false otherwise Write a function that returns true if a character is a white space, false otherwise Write a function that returns the average of all the numbers stored in a file Write a function that finds the smallest number stored in a file Write a function that counts and returns the number of vowels inside a text file
Step by Step Solution
3.39 Rating (161 Votes )
There are 3 Steps involved in it
For a include include int main double num 75 if num 90 stdcout stdsetw15 Excellent else if num 60 stdcout stdsetw15 Pass else if num 70 stdcout stdset... View full answer
Get step-by-step solutions from verified subject matter experts
