Skip to content

shubham3652/cgpa_To_Percentage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I'm Shubham! 👋

cgpa_To_Percentage

A JAVA Program to find a Percentage out from CGPA (Printed on your result).

There are multiple ways to write a program for this topic.

I wrote it in a ✌️(two) ways:

There are ✌️ Program files in two different Folders. In which,

  • 📁Program Folder (LOOP) ♾ 📝 cgpaToPercent_ForLoop.java
  • 📁Program Folder (no_LOOP) 📝 cgpaToPercent_no_ForLoop.java

And Some of the comments over the code so that you can understand it very well.
Its easy, you will get it.
I tried to make it as easy as possible to make you guys understand easily. I haven't added Exceptional Handling for invalid input which you may type by mistake.🥲 I will think of it in future. 😋


Compile & Run (🏃)

1. Program with For_Loop:

Compile:

  ~$ javac cgpaToPercent_ForLoop.java

Run:

  ~$ java cgpaToPercent_ForLoop 

2. Program with no_For_Loop:

Compile:

  ~$ javac cgpaToPercent_no_ForLoop.java

Run:

  ~$ java cgpaToPercent_no_ForLoop

Screenshots: 🖼️

Screenshots:

Java Code (With_Loop ♾):

[-] Choose your Admission_Year:

App Screenshot

Student:

First Year (option_1)

App Screenshot

Student:

First Year (Option_2)

App Screenshot

Student:

Direct Second Year (Option_1)

App Screenshot

Student:

Direct Second Year (Option_2)

App Screenshot

Java Code (Without_Loop):

Student:

First Year (option_1)

App Screenshot

Student:

First Year (Option_2)

App Screenshot

Student:

Direct Second Year (Option_1)

App Screenshot

Student:

Direct Second Year (Option_2)

App Screenshot

Authors