In this tutorial, we will learn how to compare two strings in C#. We will write one program to take two strings as input from the user. It will then compare the strings and print out the result i.e. if the first string is greater, smaller or equal to the second string.With this tutorial, you will learn how to compare two strings, how to read user inputs and how to use if-else conditions in C#. With this tutorial, you will learn how to compare two strings, how to read user inputs and how to use if-else conditions in C#.
ReadIn this tutorial, I will show you how to create one simple 'hello world' application in C# and how to run that using the terminal.
ReadIn this tutorial, we will learn how to reverse a string in C sharp. The program will take one string from the user, reverse it and print out the reversed string. We will learn two different approaches to solve this problem.
ReadThree different ways to print the key-value pairs of a Python dictionary. We will learn to do it by using a loop, using the items() method and iterating through the keys of the dictionary.
ReadIn this python programming tutorial, we will learn how to solve a quadratic equation. The user will enter the values of the equation, our program will solve it and print out the result. The quadratic equation is defined as below :where, a,b, and c are real numbers and 'a' is not equal to zero. To find out the value of x, we have one equation called quadratic equation which is defined as below..
ReadIn this tutorial, we will learn how to use the if-else statement in JavaScript. We will create one simple number comparator application. The user will have to enter two numbers on two input fields. It will have one button to find out the maximum number. If the user will click on the button, it will show us the maximum number that was entered.
Read2 different ways to check if a number is even or odd using c sharp. The program will take the number as input from the user and print out the result i.e. the number is even or odd.
ReadIn this C# tutorial, we will learn how to check if a number is positive, negative or zero. The program will ask the user to enter a number. It will check if it is positive, negative or zero and finally print out the result.
ReadVector is a good replacement of array in Java if you want to add elements dynamically. We can add elements dynamically to a vector and it will increase its size, unlike arrays. Previously we have learned different examples of vectors like [how to create vectors](https://www.codevscolor.com/java-print-vector-contents), how to [add elements to a vector](https://www.codevscolor.com/add-elements-to-java-vector-using-index) and how to [clear a vector](https://www.codevscolor.com/how-to-clear-vector-in-java). In this tutorial, we will learn how to add elements to a vector in a specific position, i.e. using index numbers.
ReadIn this C programming tutorial, we will learn how to remove one specific element from an array in C. The algorithm of the program will be like below :.
Read