Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 4
c x 2
Member Avatar for shock1

Write the definition of a function printGrade , which has a char parameter and returns nothing. The function prints on a line by itself the message string Grade: followed by the char parameter (printed as a character ) to standard output . Don't forget to put a new line character …

Member Avatar for Narue
0
330
Member Avatar for shock1

Write the definition of a function dashedLine , with one parameter , an int . If the parameter is negative or zero, the function does nothing. Otherwise it prints a complete line terminated by a new line character to standard output consisting of dashes (hyphens) with the parameter 's value …

Member Avatar for Narue
0
105
Member Avatar for shock1

Write the definition of a function printAttitude , which has an int parameter and returns nothing. The function prints a message to standard output depending on the value of its parameter . If the parameter equals 1, the function prints disagree . If the parameter equals 2, the function prints …

Member Avatar for Narue
0
382
Member Avatar for shock1

Write the definition of a function printLarger , which has two int parameters and returns nothing. The function prints the larger value of the two parameters to standard output on a single line by itself. this is what i have so far: void printLarger(int, int){ } I have to write …

Member Avatar for Narue
0
192
Member Avatar for shock1

Write the definition of a function named powerTo , which receives two parameters . The first is a double and the second is an int . The function returns a double . If the second parameter is negative, the function returns 0. Otherwise, it returns the value of the first …

Member Avatar for Narue
0
147
Member Avatar for shock1

Given the integer variables x , y , and z , write a fragment of code that assigns the smallest of x , y , and z to another integer variable named min . Assume that all the variables have already been declared and that x , y , and …

Member Avatar for Acidburn
0
90