Posts

Showing posts with the label Education

C# Program for Coin Vending Machine

                                                              C# Program for Coin Vending Machine Posted by Libin Antony@10-02-2023 IST : 09:12:23 The code uses the C# programming language to simulate a coin vending machine that accepts coins in increments of 0.25, 0.5, 1, and 2. The program calculates the total amount of coins inserted by the user, and compares it to the price of the item being sold by the machine. When the total amount equals or exceeds the item price, the transaction is complete and the item is dispensed.                                                                  Program using System; namespace CoinVendingMachine {     class Program...

C# Program to Find a Year Leap or not & Find odd or Even Number

Image
Posted by Libin Antony on 13/01/2023   Just sharing the C# Programs and O/P s for your reference. Kindly discuss, if any contradictions. C# Program to Find a Year Leap or not : Program:   using System; namespace Leapyearornot {     class Leapyear     {         static void Main( string [] args)         {             Console.WriteLine( "Enter Year:" );             int year = Convert.ToInt32(Console.ReadLine());             if ((year % 4 == 0) && (year % 100 != 0 || year % 400 == 0))             {                 Console.WriteLine(year + "is a leap year" ...

Simple code that print "Hello World"- Using C#

Image
Blink text using jQuery January 08, 2023 by Libin Antony Let we discuss about the basic programming in C#. I am a very beginner of C# and programming languages. I am sharing my gained knowledge of C# through this platform.Let us all Discuss and share your ideas and if you contradiction with the program ,Kindly comment. We Discuss                                                         Simple code that print "Hello World"- Using C#  using System;      namespace HelloWorldApplication  {  class HelloWorld  {  static void Main(string[] args)  {  Console.WriteLine("Hello World");  }  }  } O/P : Hello World Explanation: *First line of the program using system - using keyword is used to include the system namespace in the program *Second line is the namespace de...

View on National Educational Policy

Image
                                                    View on National Educational Policy                                                                                                                           A. Libin Antony India is a country where most of the policies ,plan and development projects are Debatable one. Most of the times Politics plays a vital role here for vote sake. People must be aware of the...