Find s=1 – 2 + 3 – 4 + 5 – 6 + 7 – 8 + 9 – 10. in C#

Output:- The value of s is: -5  

Basic C Language Hello World Program

The most basic program for C language. Thats what this is. This is a simple C language “Hello World” program. The Program:

getch(): getch() stands for ‘get charater’. It tells the compiler to wait for the user to press …

[Continue reading]

C++ program to check duplicate data in an array.

This program will check if there is any duplicate data in a given array.