TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nicolas
NA
6
0
Question for If Codes
Apr 27 2009 3:33 PM
Hi There, I'm Nick
I'm with a problem with if codes in visual c# 2008
in this code:
Console.WriteLine("Years old? \n");
var1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\n");
if (var1 < 17)
{
Console.WriteLine("Under Old");
Console.ReadLine();
}
else if (var1 > 65)
{
Console.WriteLine("Up Up Up !");
Console.ReadLine();
I want that if the number is less than 17 it shows a answer, if he shows more than 65 different answer, and it is between 18 and 64 show another answer him, is how?
Thx
and sorry for my NoobNess with this >.<
PS. This code not complete, only this part I have the problem
Reply
Answers (
2
)
Refresher course on the steps on the use of a win app and/or mdi child form
Retrieve Data when select row in gridview show in textbox