Answered step by step
Verified Expert Solution
Link Copied!

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 functionsimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions