Skip to main content

Practice Coding

Practice C++ questions and improve your skills. Enjoy It :)



Q1.) Write a C++ program to find the area of  a triangle, a rectangle, a square and a circle using inline functions.

Q2.) Write a C++ program to input name of a fruit and its nutritiinal values and display it.

Q3.) Write a C++ program to count the number of times a loop ran to sum the digits of a number.

Q4.) Write a C++ program to input item number, item name, rate and quantity by a customer. The output should display all the details provided with the calculated bill amount. (Input atleast 5 items from the customer.)

Q5.) Write a C++ program to enter a rational number from user, simplify it and display it.
ex.:-  Enter a rational number
          =====================
      Enter numerator : 8
      Enter denominator : 12
      Simplified rational number is : 2/3

Q6.) Write a C++ program to input name, age and salary of 5 employees and display the details of employees whose salary is more than 15,000.


Regards,
  • ITK

Comments

Popular posts from this blog

ASCII TABLE || HEXADECIMAL TABLE

ASCII & Hexadecimal Table (CLICK THE IMAGE TO VIEW IT PROPERLY) REGARDS, ITK

INSTALLING TURBO C/C++ IN WINDOWS || INSTALLING TURBO C++ || INSTALLING BORLAND'S TURBO C++

Borland's Turbo C/C++ has been making the novices to know the power of coding with interest beside of being outdated since 1987. It was noted for its integrated development environment, small size, fast compile speed, comprehensive manuals and low price availability. But now it's completely free to download and use. You can download Turbo C/C++ of Borland's (according to your PC's requirements) by clicking here. TO SEE THE INSTALLATION VIDEO CLICK HERE . After the download is completed, follow the following steps (picture-wise too) after opening it : 1. Double click the application to start installation. 2. Now click next. 3. Accept the license aggreement to continue to install by clicking intsall button. 4. The installing page will look like - 5. After the installation is completed soon, click read me if you wish to see its license aggreement. 6. Otherwise you can continue by clicking finish. 7. Now go to the desktop and search ...

How to install Linux OS in Windows || How to install Linux On Windows

INSTALLING LINUX​================ ​ ​ ​ ​ ​How Linux in Window? ​Linux is widely used by the organisations where security and performance along with multiuser-multitasking (many more features are out there, you can check it by clicking here .) are priority. The main issue arises when we've to learn how to operate linux so that could be easier (for begineers  specially) to get marks in the preferred institute and jobs. Linux is not only all about these, mean getting marks and jobs, means who'll really care for those if one got Linux knowledge to have more self-employeed jobs while having fun of its open source codes. ​Another issue arises when we've to install Linux in pre-existing OS. Here, Windows OS for the installation will be used. ​ (​If you wish to see the clip for Linux installation, Click here .) ​ ​INSTALLATION ​The following steps tell you how to install linux on Windows OS. ​ ​1. Download the VMWare Workstation . ​ ​     ...