C# Tutorial #17 - Object Methods | Object Oriented Programming | Filipino | Tagalog

preview_player
Показать описание
Hi Guys today we are going to talk about Object Methods, Eto ang ginagamit natin so that our instantiated objects will have some purpose other than having attributes.

C# Tutorial #17 - Object Methods | Filipino | Tagalog

Language: C#
Series: C# Tutorial Tagalog

Timestamps
00:00​​ - Intro

SDPT Encounters

SDPT Devotions

Discord Channel

Facebook Page

Join SDPT Exclusive Members
Рекомендации по теме
Комментарии
Автор

Galing! Dami ko po natutunan. Thank you

ohtoxwj
Автор

One of the Best Filipino na gumagawa ng tutorial.

zyxtiitechgamer
Автор

Sana merong tutorial po about sa gui ng Csharp

prvcyrecords
Автор

Sobrang salamat po sa inyo, may mga bago ulit ako natutunan sa video nyo po, sobrang helpful sa mga tulad kong zero knowledge sa programming at gustong matuto mag code

ito po ulit yung code ko sa Challenge nyo, makalat pa po HAHAHAHA

sa inyo, pakalinis ! GOD BLESS




//Student
class Student
{
string firstName, lastName, course;
int year, section;
float midtermGrade, finalGrade;


public Student(string firstName, string lastName, string course, int year, int section, float amidtermGrade, float afinalGrade)
{
this.firstName = firstName;
this.lastName = lastName;
this.course = course;
this.year = year;
this.section = section;
this.midtermGrade = amidtermGrade;
this.finalGrade = afinalGrade;
}

public void Introduce()
{
Console.WriteLine("Name : " + firstName + " " + lastName);
Console.WriteLine("Course : " + course);
Console.WriteLine("Section : " + year + " - " + section);
}

public void EvaluateGrade()
{
Console.WriteLine("Midterm : " + midtermGrade);
Console.WriteLine("Final : " + finalGrade);

float MG = midtermGrade;
float FG = finalGrade;
float ave = (MG + FG) / 2;

Console.WriteLine();
Console.WriteLine("Ave : " + ave);
Console.WriteLine();
if (ave > 100)
{
Console.WriteLine("Invalid GRADE! MANGHUHULA");
}
else if (ave >= 98)
{
Console.WriteLine("With Highest Honors");
}
else if (ave >= 95 )
{
Console.WriteLine("With High Honors");
}
else if (ave >= 90)
{
Console.WriteLine("With Honors");
}
else if (ave >= 75)
{
Console.WriteLine("PASSED");
}
else if (ave < 75)
{
Console.WriteLine("FAILED");
}



}
}

//MAIN
class Program
{
static void Main(string[] args)
{
Student s = new Student("Manu", "Lonts", "BSIE", 3, 3, 74F, 74.5F);
s.Introduce();
s.EvaluateGrade();
}
}

lontstv
Автор

idol masugid nyo po akong taga hanga paano po gumamit ng char sa if else condition sa java?

yasedgaming
Автор

Sir pano po mag aask ako sa user na mag enter ng 6 unique number between 6 and 49 then mag rarandom po ako ng 6 unique number then if may enenter si user na number na same sa 6 random number lalabas kung ano yung same number kaso bawal gamitin yung arraylist

itsmeLJ
Автор

Sir pwede po magtanong kung paano po palitan Ang class program Ng class students using repl.it po?

Ok lang po ba na hindi na palitan?
Maraming salamat po? ☺️☺️☺️
Godbless more students and others pa po Sana kayong maturuan☺️☺️super galing niyo po mag discuss and explain.

giemelstutorial
welcome to shbcf.ru