Question: could someone help me on this problem, i'm having trouble understanding void functions Write a function called classGreeting that takes a single integer parameter and

could someone help me on this problem, i'm having trouble understanding void functionscould someone help me on this problem, i'm having trouble understanding void

Write a function called classGreeting that takes a single integer parameter and prints a greeting to the screen. Specifications Your function MUST be named classGreeting Your function should have one input argument as an integer: o An integer parameter representing the course number Your function should not return anything. Your function should print the course number in the following format o Hello, CS World!, where* should be replaced by the value of the input argument Submit only your classGreeting function, not the main program that tests/calls your function. If 1300 is the given argument value, the function should print: Hello, CS 1300 World! Do not forget to include a description of the algorithm you use along with general comments for the code you write For example: Test classGreeting (1300) Hello, CS 1300 World! Result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!