Random Number Guessing Game in C# This is a simple game in c# which allows you to select a number from 1 to 10, then the random number will appear, a message box will prompt if you have guessed the…
Tag: c# programming tutorial
Letter Equivalent of your Grade in C++
Letter Equivalent of your Grade in C++ The program will ask you to enter your grade, the program will then evaluate what is the equivalent letter of your grade using the if else if statement. Grade above 90 is A…
Grade Solver in C++
Grade Solver in C++ Grade solver sample program in c++ that computes your final grade based on the prelim, midterm and endterm grades. The formula: Final Grade = (prelimgrade * .3) + (midterm * .3) + (endterm * .4) vb,…
Get the Average of Numbers in C++
Get the Average of Numbers in C++ This is a sample program in c++ that computes the average or mean of the numbers entered by the user. Below is the formula on how to compute the average of the numbers…
Compute the Area and Perimeter of the Rectangle in C++
Compute the Area and Perimeter of the Rectangle in C++ Example program in c++ that ask the user to input the length and width of a rectangle, the program will then compute and display the area and perimeter of the…
Increment-Decrement a number in C++
Increment-Decrement a number in C++ Increment means to add or increase, decrement means to deduct or decrease. This c++ program will demonstrate how to increment and decrement a number. The user will be given an option to either increment or…
If Else Statement in C++
If Else Statement in C++ Sample program that demonstrate if else statement in c++. The program will ask to enter a grade, if your grade is greater than or equal to 75 then you have a passing grade, grade less…
TreeView Control Demo in C#
TreeView Control Demo in C# A treenode is a control that allows you to display items in a hierarchical structure. In this c# program, sample nodes are presented and selected node will be displayed in a messagebox. Images can also…
Pass value from one form to another in C#
Pass value from one form to another in C# This is a sample program in c# that passes or transfer value entered in a textbox from source form to the label control of another form. The program will ask you…
Timer Control demo in C#
Timer Control demo in C# Sample program that demonstrates how to use timer control in c#. This sample program will allow the user to start and stop the timer. The value of the label starts at 0 and once you…