Quotation marks are usually paired with a similar type, like a double quote (") paired with another double quote ("), and the same goes for single quotes ('). However, I'd like to try complicating things by putting together a pair of a double quote(") and a single quote(') in one statement!
Can you do this simple challenge?
Output
A line containing a string.
"'
Complete the Cat class so the main function above produces the following output:
White cat is sitting Black cat is sitting
Brown cat is jumping
Red cat is purring Blue cat is sitting Purple cat is jumping
Complete the Cat class so the main function above produces the following output:
White cat is sitting Black cat is sitting
Brown cat is jumping
Red cat is purring Blue cat is sitting Purple cat is jumping
Create 4 variables and assign each one to the following values:
the letters 'M', 'V', and 'P' on the first three variables
the number 10 on the fourth variable
You may name the variable anything you want as long as it follows proper naming convention.
Using the variables you've created, print the cheer message like the one displayed in the output sample below. The first line contains the cheer message for the MVP, and the second line containing a cheer message with the MVP’s jersey number, all in uppercase.
1. Write a Linux shell script that allow the user to enter a choice based on the following options:
A – Delete a file in current directory B – Create a directory in current directory.
C – Change a file access mode to 755. D – Rename a file to another name E – Copy a file to another directory.
If the user entered any other choices than the above, prompt the user to pick only A – E.
Provide the shell script along with the sample output screenshot. Refer to the attached rubrics as a guide. Print a copy of the rubrics to be attached with this lab report.
1. Write a Linux shell script to perform the following tasks:
a. Display current date and time
b. Display current working directory
c. To check whether a sample file is a directory
d. Display details of all files/directories in current working directory
e. To check whether a sample file is readable, writable, and executable.
Provide the shell script along with the sample output screenshot. Refer to the attached rubrics as a guide. Print a copy of the rubrics to be attached with this lab report.
In Python programming, compute the circumference of a circle given the radius entered by the user. The circumference of the circle is calculated as follows: (5 Points) C= 2πr
10=x
The learners must create a C++ program using FUNCTIONS to compute the tuition fee of the students in a chosen level. The program will allow the users to choose the level and using the functions, the program will ask the values needed to compute the tuition fee. There must be two functions to compute the tuition fee for grade 7 and 8 level. Please use grade7 and grade8 as FUNCTION NAMES.
Modify the program from number 1 by adding a class and apply the "outside of a class function"