Skip to main content

WAP to find multiplication table of given number

 using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Multiplication_Table
{
Class Program
{
static void main(string[] args)
{
int i, n, mul;
Console.WriteLine("Input any number.");
n= Convert.ToInt32(Console.ReadLine()):
Console.WriteLine("The multiplication table of {0} is : ", n)
for(i=1; i<=0; i++)
{
mul = n* i
Console.WriteLine("{0}", mul);
}
Console.ReadLine();
}
}
}



OUTPUT:
Input any number.
5
The multiplication table of 5 is :
5
10
15
20
25
30
35
40
45
50











Comments

  1. Should you only spin 2 bonus symbols in to play, you’ll be supplied the selection of picking one of many symbols, you will both be awarded your guess again, or you’ll ready to|be capable of|have the power to} turn the reels completely wild. Examples of video slot 메리트카지노 video games embody The Mask, which is predicated on the Jim Carrey film, Mega Moolah, Starburst, and Rich Wilde and the Book of the Dead. Classic slots usually have one payline, video slots offer more paylines, and ways to win video machines mechanics offer from 243 a lot as} 1,024 or more ways to win. Video slots most gamers love half in} are the megaways slots offering a lot as} 1117,649 ways to win.

    ReplyDelete

Post a Comment

Popular posts from this blog

Physical variables and transducer

unit 3 Physical Variables and transducers  Sensor Sensors are electrical devices that have the capability of sensing different physical variables. The sensor may be classified on different bases one of them is a physical quantity. Hence on the basis of a physical quantity or physical vibration involved the sensors are classified as: Resistive sensor  The input being measured is transformed into a change in resistance. examples: potentiometer, resistance thermometer, strain gauge, etc. Inductive sensor The input being measured is transformed into a change in resistance. example LVDT. Capacitive Sensor The input being measured is transformed into a change in capacitance. example: capacitive Displacement sensor. On the basis of power supply required: Active Sensor Active sensors are those which do not require an external power supply.  example: thermo-couple Passive Sensor Passive Sensors are those which require a power supply. example: Potentiometer. Physical variables and ...