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

When a function is made inline. Write the situation where inline functions may not work.

2 Answers  


What is microsoft c++ redistributable 2013?

0 Answers  


What is a dangling pointer?

3 Answers   Glenwood,


Write a code/algo to find the frequency of each element in an array?

0 Answers   Axtria,


Differentiate between the manipulator and setf( ) function?

0 Answers  


Is c++ an integer?

0 Answers  


What is the difference between equal to (==) and assignment operator (=)?

0 Answers  


How do I get good at c++ programming?

0 Answers  


What is Virtual Inheritance?

7 Answers   Amazon, Wipro,


Can I learn c++ without knowing c?

0 Answers  


What is the basic concept of c++?

0 Answers  


We use library functions in the program, in what form they are provided to the program?

0 Answers  


Categories