-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQ36.js
More file actions
27 lines (23 loc) · 722 Bytes
/
Copy pathQ36.js
File metadata and controls
27 lines (23 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* *****************************************************
*
* File Description: Problem 36
* panacloud-modern-global-apps/typescript-node-projects
*
*
* T-Shirt: Write a function called make_shirt() that accepts a size and the text of a message
* that should be printed on the shirt.
*
* The function should print a sentence summarizing the size of the shirt and the message printed on it.
*
* Call the function.
*
* created by: abkh
* modified on: 6 October 2022
*
*/
function make_shirt(size, text)
{
console.log("The size of the shirt is '%s'", size)
console.log("Message to be printed on the shirt is '%s'", text)
}
make_shirt("Medium","I love this shirt")