0

Question can not start

10th Mar 2021, 2:46 PM
امير حكيم
امير حكيم - avatar
7 Réponses
+ 1
You're welcome..
10th Mar 2021, 3:50 PM
Jayakrishna 🇮🇳
+ 1
what?
10th Mar 2021, 2:47 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
You must Assign values before you using it.. So change : int a1,b1,c1; to int a1=0, b1=0, c1=0; edit: Be Clear about question.. otherwise difficult to understand...
10th Mar 2021, 3:17 PM
Jayakrishna 🇮🇳
+ 1
Thank's
10th Mar 2021, 3:44 PM
امير حكيم
امير حكيم - avatar
0
int a , b , c ; int a1, b1, c1; a=Convert.ToInt32(Console.ReadLine()); b=Convert.ToInt32(Console.ReadLine()); c=Convert.ToInt32(Console.ReadLine()); if(a<c) { if(a<b) { a1=a; if (b<c) b1=b; c1=c; } else{ a1=a; b1=c; c1=b; } } else if (b<c) { if (b<a) a1=b; b1=c; c1=a; } else if(c<a) { if (c<b) if(a<b) { a1=c; b1=a; c1=b; } else { a1=c; b1=b; c1=a; } } Console.WriteLine(a1 ); Console.WriteLine(b1 ); Console.WriteLine(c1); Console.ReadLin
10th Mar 2021, 2:47 PM
امير حكيم
امير حكيم - avatar
0
Use of unassigned local variable
10th Mar 2021, 2:50 PM
امير حكيم
امير حكيم - avatar
0
Why
10th Mar 2021, 2:51 PM
امير حكيم
امير حكيم - avatar