C# Program to find Student GPA and CGPA || Concept of ENUM in C#

C# Program to find Student GPA and CGPA || Concept of ENUM in C# - welcome to our blog Techno Live, now we will discuss information about the C# Program to find Student GPA and CGPA || Concept of ENUM in C#, our admins on this blog has been around to collect information you are looking for so that we usakan to display complete information for you, and in this blog, you can also search for other information, ok please continue reading may be easily understood:

This is about : C# Program to find Student GPA and CGPA || Concept of ENUM in C#
And this article : C# Program to find Student GPA and CGPA || Concept of ENUM in C#
Article Csharp, Article programs,

You can also see our article on:


C# Program to find Student GPA and CGPA || Concept of ENUM in C#

C# Program to find Student GPA and CGPA

Program Statement:
Create a class of student which stores characteristcs of student like studentID, studentName, studentDOB, studentRollNo, studentEmail, studentGPA of last 5 semesters and other related information of the student. (You may set some properties Boolean and some readonly)
a. Calculate the CGPA of each student using function calculateCGPA(…).
b. Student with highest CGPA will be considerd CR of the class. There should be a function which will compare the CGPA of students and will declare a student having greater CGPA as CR.
c. Program should be able to take input of 5 students from user; definitely there will be a function which will take input from the user.
d. You have to use the Setter for setting the values of the data members of the class and and Getter function for getting the values of the data members of the class. (You can use property as alternative)
e. Default value for each student GPA should be 3.0. (You have to use an array for storing GPAs of last 5 semesters. You may simply initialize the array with 3.0 in constructor).
f. All data members should be private.
g. Member functions can be public.
h. Program must be able to add two objects i.e. if we add two students then all their corresponding data members will be added one by one. (Operator Overloading).
i. Program must contain explicitly definition of copy constructor.
j. StudentID and StudentGPA of last 5 semesters must be constant or readonly.
k. Value of studentGPA of last 5 semesters must be selected from ENUM which may contain values {1.0, 2.0, 3.0, and 4.0}.

Solution:
 public void Question_45()
{
int len = 0, i = 0, count = 0 , R , copy_r;
Student[] obj;
Console.Clear();
Console.WriteLine("****A Program Calculate the Student Characteristcs****\n");
Console.Write("\nEnter the Size of Student Class : ");
len = Convert.ToInt32(Console.ReadLine());
obj = new Student[len];
for (int j = 0; j < obj.Length; j++)
obj[j] = new Student();
do
{
Console.Clear();
Console.WriteLine("****A Program Calculate the Student Characteristcs****\n");
Console.WriteLine("\n\t\t1.Input Student Data");
Console.WriteLine("\t\t2.CGPA of Student");
Console.WriteLine("\t\t3.CR of Class");
Console.WriteLine("\t\t4.Copy Contructor");
Console.WriteLine("\t\t5.Operator Overload + ");
choice = Convert.ToChar(Console.ReadLine());
switch (choice)
{
case '1':
Console.Clear();
Console.Write("\nRoll No. : " + obj[i].R);
Console.Write("\n\nEnter Name : ");
obj[i].N = Convert.ToString(Console.ReadLine());
Console.Write("\nEnter Father Name : ");
obj[i].F = Convert.ToString(Console.ReadLine());
Console.Write("\nEnter Email : ");
obj[i].E = Convert.ToString(Console.ReadLine());
Console.Write("\nEnter Date of Birth : ");
obj[i].D = Convert.ToDateTime(Console.ReadLine());
Console.Write("\nEnter Smester : ");
obj[i].Sm = Convert.ToInt32(Console.ReadLine());
obj[i].Set_GPA();
i++;
count++;
break;
case '2':
if (count != 0)
{
int loc = -1;
Console.Clear();
Console.Write("\nEnter Roll No. of Student : ");
R = Convert.ToInt32(Console.ReadLine());
for (int k = 0; k < len; k++)
{
loc = obj[k].Check(obj, R);
if (loc != -1)
{
obj[loc].CGPA();
break;
}
}
if (loc == -1)
Console.WriteLine("\nInvalid Roll No.");
count++;
}
break;
case '3':
if (count != 0)
{
Console.Clear();
obj[0].CR(obj);
count++;
}
break;
case '4':
if (count != 0)
{
Console.Clear();
Console.Write("\nEnter the No. for Copy (i.e < 5/len) : ");
copy_r = Convert.ToInt32(Console.ReadLine());
Student copy = new Student(obj[copy_r-1]);
copy.Show();
count++;
}
break;
case '5':
if (count != 0)
{
Console.Clear();
Console.Write("\nEnter 2 Object No. for Adding (i.e < 5/len) : ");
Console.Write("\nEnter the Object No. for Adding : ");
R = Convert.ToInt32(Console.ReadLine());
Console.Write("\nEnter the Object No. for Adding : ");
copy_r = Convert.ToInt32(Console.ReadLine());
obj[R] = obj[R-1] + obj[copy_r-1];
obj[R].Show();
count++;
}
break;
}
Console.Write("\nIf Run Again (Y/N) ? ");
choice = Convert.ToChar(Console.ReadLine());
if (choice != 'Y' && choice != 'y')
{
Console.WriteLine("\nSee you Next Time");
Main_Fun();
break;
}
} while (true);
}




Articles C# Program to find Student GPA and CGPA || Concept of ENUM in C# finished we discussed

A few of our information about the C# Program to find Student GPA and CGPA || Concept of ENUM in C#, I hope you can exploit carefully

No've You've finished reading an article on C# Program to find Student GPA and CGPA || Concept of ENUM in C# and many articles about modern home in our blog this, please read it. and url link of this article is https://liveeconcerts.blogspot.com/2014/01/c-program-to-find-student-gpa-and-cgpa.html Hopefully discussion articles on provide more knowledge about the world of tech gadgets.

Tag : , ,

64 Responses to "C# Program to find Student GPA and CGPA || Concept of ENUM in C#"

  1. I didn't like my program in this language at the university. Although i was a student with a technical mindset and pay research paper, i could not learn this language with the program that we had at the university.

    ReplyDelete
    Replies
    1. C Program To Find Student Gpa And Cgpa >>>>> Download Now

      >>>>> Download Full

      C Program To Find Student Gpa And Cgpa >>>>> Download LINK

      >>>>> Download Now

      C Program To Find Student Gpa And Cgpa >>>>> Download Full

      >>>>> Download LINK UY

      Delete
  2. Excellent program. I am a programer too and I think that you code is clear. As fr me it is easy to read such posts than to read humanitarian articles as https://www.iiste.org/tag/domyessay/!

    ReplyDelete
  3. Programming is really hard. If you know how to program then most likely you do not know how to write essay. But there are services that are advertised in the article with tips how to write good essay fast that will help people who do not know how to write essay but know how to program.

    ReplyDelete

  4. Programming is probably one of the most difficult areas. If you want to get closer to it, then it's better to work in marketing (read the article about marketing) than to learn how to program

    ReplyDelete

  5. Programming by people who usually do not have the ability for humanitarian assignments. But it's good that there are services such as the service advertised in the article about top chemists and about service, which helps with chemistry homework that can help with humanitarian homework.

    ReplyDelete
  6. This is an excellent post visit us and please check our site web of our faculty

    ReplyDelete
  7. so that I can get more and more complete information.
    Zianefacdroitsp.

    ReplyDelete
  8. I am glad to talk with you and you give me great help......Zianefacdroitsp

    ReplyDelete
  9. Such a nice information ..Get the your website rank with Cityweb'sSEO Bangalore at your budget.

    ReplyDelete
  10. This is Very very nice article. Everyone should read. Thanks for sharing. Don't miss WORLD'S BEST 4x4OffroadJeepCarRacingChampionsGame

    ReplyDelete
  11. This is about : C# Program to find Student GPA and CGPA || Concept of ENUM in C#
    And this article : C# Program to find Student GPA and CGPA || Concept of ENUM in C#
    Article Csharp, Article programs,Kaspersky Total Security

    ReplyDelete
  12. collect information you are looking for so that we usakan to display complete information for you, and in this blog, you can also search for other information, ok please continue reading may be easily understood
    crackcool.com

    ReplyDelete
  13. Thank you so much! That was real helpful. I learnt a lot from it.............Zianefacdroitsp

    ReplyDelete

  14. Thank you ever so for you article. .............Zianefacdroitsp

    ReplyDelete

  15. best custom writing website.............Zianefacdroitsp

    ReplyDelete
  16. I am glad to talk with you and you give me great help......Zianefacdroitsp
    Hi thanks for the helpful information shared. the article is really very helpful......Zianefacdroitsp

    ReplyDelete
  17. you are really the best...I really like what you share......Zianefacdroitsp

    ReplyDelete
  18. HD Tune Pro Activation Key is an effective tool to improve your program. Improves the efficiency of the program. It provides a very easy and useful atmosphere to manage.
    Teamviewer Pro Activation Key
    AVG Antivirus Pro Activation Key
    Wondershare Filmora Pro Activation Key

    ReplyDelete
  19. Maxon CINEMA 4D Pro Serial Key is a 3D design software from Maxon. It is a creative tool that allows the user to create impressive graphics and special effects.
    4uKey Pro Serial Key
    Bittorrent Pro Serial Key
    Luxion Keyshot Pro Serial Key

    ReplyDelete
  20. I really like what you share ......
    Zianefacdroitsp

    ReplyDelete
  21. For the very first time, I read your blog and loved it. Your way of delivering content is amazing and appreciable. Hope you will continue this and provide new, unique, and strong content from your side. For me, it’s a five stars article. Vlone Hoodie

    ReplyDelete
  22. Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
    IPVanish VPN Crack
    Express VPN Crack
    ESET Internet Security Crack
    Quillbot Premium Crack
    Teorex Inpaint Crack

    ReplyDelete
  23. Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
    Kutools For Excel 25.00 Crack
    SpyHunter 5 Crack
    EaseUS MobiSaver 7.7.0 Crack
    Enscape3D Sketchup Crack
    EasyWorship 7.2.3.0 Crack

    ReplyDelete
  24. Nice explanation and article. Continue to write articles like these, and visit my website at https://usacrack.info/ for more information.
    Enscape3D Sketchup Crack
    XYplorer Pro Crack
    Luminar Crack
    ESET Internet Security Crack
    Avast Cleanup crack
    Modern CSV Crack

    ReplyDelete
  25. The Live Earth Map - Voice Navigation Satellite View provide Navigate around the world with ease! Feel more like a local your own city than a tourist when you travel. Have instant knowledge about the nearby places, destinations, and more, or easily plan your next city in the world or bike & car route. All is possible with Live Earth Map - Voice Navigation Satellite View.

    ReplyDelete
  26. This information is really awesome thanks for sharing most valuable information. ................Zianefacdroitsp

    ReplyDelete
  27. That's nice. Very Well Explained your Blog is just amazing and provides profound knowledge. ติดต่อสอบถาม igoal88

    ReplyDelete
  28. I need to to thank you for this wonderful post!
    Zianefacdroitsp

    ReplyDelete
  29. This is a great post. I like this topic.This site has lots of advantage.
    I found many interesting things from this site. It helps me in many ways.Thanks for posting this again................Zianefacdroitsp

    ReplyDelete
  30. I really like what you share ......
    Zianefacdroitsp

    ReplyDelete
  31. This post gives clear idea for the new visitors of blogging, that truly how to do blogging.
    Zianefacdroitsp

    ReplyDelete
  32. merci pour votre participation ..............Zianefacdroitsp

    ReplyDelete
  33. C Program To Find Student Gpa And Cgpa >>>>> Download Now

    >>>>> Download Full

    C Program To Find Student Gpa And Cgpa >>>>> Download LINK

    >>>>> Download Now

    C Program To Find Student Gpa And Cgpa >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  34. Hello, This article is genuinely nice and I have learned lot of things from it about blogging. thanks. ................Zianefacdroitsp

    ReplyDelete
  35. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    vstpatch.net
    FL Studio Crack
    Waves 13 Complete Crack
    FaBFilter Pro Crack
    Kontakt 6 Crack
    Wondershare Filmora Crack

    ReplyDelete
  36. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    vstcrackpro.com
    NIK COLLECTION BY DXO Crack

    ReplyDelete

  37. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    vstkey.com
    PUSH Video Wallpaper Crack
    FL Studio Crack
    LD Player Crack
    Enscape 3D Crack
    IDM Crack
    PhpStorm Crack
    Redshift Render Crack

    ReplyDelete
  38. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    vstkey.com
    Drip Fx VST Crack

    ReplyDelete
  39. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    PhpStorm Crack

    ReplyDelete
  40. Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.Read: business central price

    ReplyDelete
  41. My response on my own website. Appreciation is a wonderful thing...thanks for sharing keep it up.
    ZennoDroid Crack
    RadioBOSS Crack

    ReplyDelete
  42. My response on my own website. Appreciation is a wonderful thing...thanks for sharing .
    RadioBOSS Crack
    ScrapeBox Crack
    ZennoDroid Crack

    ReplyDelete
  43. Thank you for sharing your wonderful ideas, Admin. To get the official crack, go to this link.
    PDFsam Basic Crack
    startcrack.co
    crackpropc.com
    crackersoftwares.com

    ReplyDelete
  44. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    crackplus.org
    Adobe Acrobat Pro Crack

    ReplyDelete
  45. Thank you for sharing your wonderful ideas, Admin. To get the official crack, go to this link.
    Crack Software

    ReplyDelete
  46. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    crackplus.org
    ESET Internet Security Crack

    ReplyDelete
  47. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    Buildbox Crack
    Scrivener Crack
    R-Studio Crack
    SnagIt Crack
    BeeCut Crack
    Evolution Of Sound Hexagon Revolution Crack
    Wordfast Pro Crack
    TransMac Crack

    ReplyDelete
  48. If you are interested in Android Apps, PC Software and MAC Applications then you can visit our official websites for registered applications that you can download full free without paying any charges.

    Nexus Crack
    PUBLIC CRACK
    XYZ CRACK
    ZROOT CRACKEDZEE CHEAP

    ReplyDelete
  49. Wow, amazing block structure! How long
    Have you written a blog before? Working on a blog seems easy.
    The overview of your website is pretty good, not to mention what it does.
    In the content!
    iZotope Nectar Crack
    Avid Media Composer Crack
    Resolume Arena Crack
    CherryPlayer Crack
    VueScan Pro Crack
    AngelicVibes Thump Multi Effects Crack
    Antivirus Zap Pro Crack
    AAS Strum GS Crack

    ReplyDelete