Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 functions
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! ResultStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started