Console.WriteLine("insert The Number::");
int c = Convert.ToInt32( Console.ReadLine());
Saqlainz -1 Newbie Poster
tinstaafl 1,176 Posting Maven
Saqlainz commented: well this is also a way but i told the easiest of all +0
tinstaafl 1,176 Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Saqlainz -1 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Saqlainz -1 Newbie Poster
Mike Askew commented: See post below. -1
ddanbe 2,724 Professional Procrastinator Featured Poster
Mike Askew 131 Veteran Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.