7. Consider the two variables: var1="peter and swimming", and var2="ann and tennis". Prepare a program that using RE and a block can print:_"peter likes swimming" and "ann likes tennis”.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question

PERL programming 

7. Consider the two variables: var1="peter and swimming", and var2="ann and tennis".
Prepare a program that using RE and a block can print:_"peter likes swimming" and "ann likes
tennis”.
Transcribed Image Text:7. Consider the two variables: var1="peter and swimming", and var2="ann and tennis". Prepare a program that using RE and a block can print:_"peter likes swimming" and "ann likes tennis”.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 1 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning