Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN JAVA Bessie and her cow friends are playing as their favorite cow superheroes. Of course, everyone knows that any self - respecting superhero needs

IN JAVA
Bessie and her cow friends are playing as their favorite cow superheroes. Of course, everyone knows that any self-respecting superhero needs a signal to call them to action. Be
ssie has drawn a special signal on a sheet of MN paper (1M10,1N10), but this is too small, much too small! Bessie wants to amplify the signal so it is exactly K times bigge
r(1K10) in each direction.
The signal will consist only of the '.' and 'x' characters.
Input
The first line of input contains M,N, and K, separated by spaces.
The next M lines each contain a length-N string, collectively describing the picture of the signal.
Output
You should output KM lines, each with KN characters, giving a picture of the enlarged signal.
Sample Input 1
Sample Output 1
..
.
dots..
dots..
..
.
dots..
dots.
.
.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

What is Acquirer furnished property (AFP)?

Answered: 1 week ago