Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
C++ homework help?will be highly appreciated?
Write a program that reads in the size of the side of a square then prints a hollow square of that size out of asterisks and blanks. Your program should work for squares of all side sizes. For example, if your program reads a size of 5, it should print:
Enter a side: 5
*****
* *
* *
* * (ITS LIKE A RECTANGLE, but here its not taking all the spaces in the middle)
*****
Press any key to continue . . .
2 Antworten
- norcekriLv 7vor 9 JahrenBeste Antwort
Please explain where you're stuck.
You've posted *no* progress whatsoever, so our default conclusion is that you don't know any algorithmic problem-solving methods, you don't know how to read or print information, and you're unable to start a flowchart or pseudo-code.
If so, then you really need to contact your teacher for reference to some intensive 1-on-1 help to overcome these deficiencies. If not, then please show what you have so far, and then describe what part is stumping you.
Consider how you would describe such a square, line by line, top to bottom.
This should help you determine your algorithm.
I'll pu tthis in my watch list and check occasionally to see what progress you've reported.
- Anonymvor 9 Jahren
So you want us to code this for you? That's not helping, that's bull*hit.