Data types and Arrays

Data Types Data types specifies the type of data to be stored inside a variable. We have seen some data types before like int: which stores integer, string: which can store names or characters. There are a number of built-in data types in C++. We are going to look at all of them. int : … Continue reading Data types and Arrays

Conditionals

You have learned about getting inputs and displaying outputs but their are certain cases where we want to execute program according to the given input. For example: A vegetable vendor is left only with spinach. Now if any one asks for spinach he will say Yes, if any other vegetable is asked for he will … Continue reading Conditionals