simple c++ loop question
Go to solution
Solved by Sauron,
in pseudocode (won't write it for you )
print "enter your name"input -> nameprint "enter height"input -> heightprint "enter width"input -> widthfor(i from 0 to (width-1)) print name;print "\n"for(i from 0 to (height-3)) print name + (width-2)*" " + name + "\n"for(i from 0 to (width-1)) print name;print "\n"
-
Featured Topics
-
Topics
-
4
-
Tamgam12 ·
Posted in New Builds and Planning0 -
remo233 ·
Posted in New Builds and Planning12 -
1
-
6
-
10
-
rickymohk ·
Posted in General Discussion3 -
Rbakker02 ·
Posted in General Discussion1 -
BaidDSB ·
Posted in General Discussion5 -
2
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now