cj
cj
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i don't use it to generate code i use it to explain errors and bugs
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i asked chatgpt
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
ngl
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i got it
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
?
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
grade = Console.ReadLine();


Console.WriteLine(grade);
grade = Console.ReadLine();


Console.WriteLine(grade);
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
even if i did this
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
string v = Console.ReadLine(grade);
string v = Console.ReadLine(grade);
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
No description
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
var grade = new Dictionary<string, float>()
{

["A+"]=4.0f,
["A"]=4.0f,
["A-"]=3.7f,
["B+"]=3.3f,
["B"]=3,
["B-"]=2.7f,
["C+"]=2.3f,
["C"]=2,
["C-"]=1.7f,
["D+"]=1.3f,
["D"]=1,
["F"]=0,
};




Console.ReadLine(grade);
Console.WriteLine(grade);
var grade = new Dictionary<string, float>()
{

["A+"]=4.0f,
["A"]=4.0f,
["A-"]=3.7f,
["B+"]=3.3f,
["B"]=3,
["B-"]=2.7f,
["C+"]=2.3f,
["C"]=2,
["C-"]=1.7f,
["D+"]=1.3f,
["D"]=1,
["F"]=0,
};




Console.ReadLine(grade);
Console.WriteLine(grade);
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i want to read the grade
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
so
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i don't need it
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i can remove the string array now
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
it worked
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
string[] grades = {"A+","A","A-","B+","B","B-","C+","C","C-","D+","D","F"};

var grade = new Dictionary<string, float>()
{

["A+"]=4.0f,
["A"]=4.0f,
["A-"]=3.7f,
["B+"]=3.3f,
["B"]=3,
["B-"]=2.7f,
["C+"]=2.3f,
["C"]=2,
["C-"]=1.7f,
["D+"]=1.3f,
["D"]=1,
["F"]=0,
};




Console.WriteLine(grade["B+"]);
Console.ReadLine();
string[] grades = {"A+","A","A-","B+","B","B-","C+","C","C-","D+","D","F"};

var grade = new Dictionary<string, float>()
{

["A+"]=4.0f,
["A"]=4.0f,
["A-"]=3.7f,
["B+"]=3.3f,
["B"]=3,
["B-"]=2.7f,
["C+"]=2.3f,
["C"]=2,
["C-"]=1.7f,
["D+"]=1.3f,
["D"]=1,
["F"]=0,
};




Console.WriteLine(grade["B+"]);
Console.ReadLine();
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
i amm so stupid xd
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
nvm
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
mayybe yeah
59 replies
CC#
Created by cj on 7/20/2024 in #help
i want to assign the grades with the grade points how can i do that?
Console.WriteLine(grades["B+"]);
Console.WriteLine(grades["B+"]);
59 replies