------------------------------------------------------------------------------------------------------------------------
Hey guys, In this video, I have explained the Assignment 1 problem by doing entire hands-on coding.
Come in the comment section in case of any query.
-----------------------CODE SNIPPET FOR ASSIGNMENT 1-----------------------------------------------------
import java.util.Scanner;
public class Main{
public static void main(String [] args){
System.out.println("Enter Student's name: ");
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
System.out.println("Hellooo plz enter " + str +" Marks in following 5 subjects");
System.out.println("Intrduction to C programming");
float a = sc.nextFloat();
System.out.println("DBMS");
float b = sc.nextFloat();
System.out.println("Data structures");
float c = sc.nextFloat();
System.out.println("Algorithms");
float d = sc.nextFloat();
System.out.println("Graphics");
float e = sc.nextFloat();
float total = (a+b+c+d+e);
float percentage = (total/500)*100;
float sgpa = percentage/10;
System.out.println("The Percentage and SGPA of " + str + " are " + percentage +" and " + sgpa+ " respectively.\n");
}
}
-------------------------------------------------------------------------------------------------------------------------------------------
Newton school is an online Edtech company providing the highest-rated FULL STACK DEVELOPMENT PROGRAM for professionals, graduates, and women.
NEWTON SCHOOL is your gateway to a high-paying tech career in 6 months with Zero fees till placement, transforming you into a rockstar full-stack developer earning 5-40 Lakh per annum salary. Newton School’s students are already working in more than 150+ top companies of India including Zomato, Unacademy, Deloitte, Nutanix, etc.
To watch more videos on programming, Data Structures, Android Development, Data Science, C++, Java, React, subscribe to our channel.
Do visit Newton school Launchpad through: https://www.newtonschool.co/launchpad
Subscribe | Like | Comment
To know more about us and our courses, please visit: https://www.newtonschool.co/
Follow us on
Facebook: / newtonschool.co
Instagram: / newtonschoolofficial
Linkedin: / mycompany
Nesta página do site você pode assistir ao vídeo on-line #09| Assignment 1 Solution | Core Java For Beginners duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Coding for Beginners by Newton School 07 Junho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 397 vezes e gostou 7 espectadores. Boa visualização!