C# In 30 days by Aditya Dua In collaboration With HamaraSem.com
Wednesday, 11 July 2012
Input in Loop
Input in for loop
using System;
class abc
{
public static void Main()
{
int a,b;
Console.WriteLine("enter no b and a");
b=Convert.ToInt32(Console.ReadLine());
for(a=Convert.ToInt32(Console.ReadLine());a<=b;a++)
{
Console.WriteLine("hiu");
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment