View Single Post
ישן 25-01-08, 19:32   # 2
mlnn
משתמש - היכל התהילה
 
mlnn's Avatar
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: בחדר של חני
גיל: 35
הודעות: 4,417

mlnn לא מחובר  

תנסה משהו כזה
קוד:
int x, y; 
            x = int.Parse(Console.ReadLine()); 
            y = int.Parse(Console.ReadLine());

if((x>60) || (y>60) || ((x==y) && (x==60)))
	Console.WriteLine("error");
else
	Console.WriteLine(Math.Abs(x-y));
__________________
.

בחורות ערומות
  Reply With Quote