Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I want to write a C++ language program that:
1. Reads in the size of a square from the screen;
2. Prints a hollow square of that size out of “-“, “|” and
blanks on screen;
3. Prints the same hollow square onto a text file.
The program should work for squares of all side sizes
between 1 and 20.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is the advantage of c++ over c?

0 Answers  


Can I make ios apps with c++?

0 Answers  


Is nan a c++?

0 Answers  


Are php strings immutable?

0 Answers  


What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


WHO DEVELOPED C++?

6 Answers  


What is a memory leak c++?

0 Answers  


Is c++ an oop?

0 Answers  


How many bit combinations are there in a byte?

13 Answers   Intel, Microsoft,


How would you differentiate between a pre and post increment operators while overloading?

0 Answers  


Explain about profiling?

1 Answers  


What is polymorphism and its type in c++?

0 Answers  


Categories