Suche senden
Hochladen
Code javascript
•
Als TXT, PDF herunterladen
•
0 gefällt mir
•
382 views
Ray Ray
Folgen
Student Mark List
Weniger lesen
Mehr lesen
Bildung
Melden
Teilen
Melden
Teilen
1 von 3
Jetzt herunterladen
Empfohlen
JDK 8
JDK 8
Maciej Dragan
DCN Practical
DCN Practical
Niraj Bharambe
Java file
Java file
simarsimmygrewal
Practice programs
Practice programs
Abbott
Networking Core Concept
Networking Core Concept
Rays Technologies
ScalaFlavor4J
ScalaFlavor4J
Kazuhiro Sera
The Ring programming language version 1.8 book - Part 32 of 202
The Ring programming language version 1.8 book - Part 32 of 202
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 10 of 184
The Ring programming language version 1.5.3 book - Part 10 of 184
Mahmoud Samir Fayed
Empfohlen
JDK 8
JDK 8
Maciej Dragan
DCN Practical
DCN Practical
Niraj Bharambe
Java file
Java file
simarsimmygrewal
Practice programs
Practice programs
Abbott
Networking Core Concept
Networking Core Concept
Rays Technologies
ScalaFlavor4J
ScalaFlavor4J
Kazuhiro Sera
The Ring programming language version 1.8 book - Part 32 of 202
The Ring programming language version 1.8 book - Part 32 of 202
Mahmoud Samir Fayed
The Ring programming language version 1.5.3 book - Part 10 of 184
The Ring programming language version 1.5.3 book - Part 10 of 184
Mahmoud Samir Fayed
クイズプログラム
クイズプログラム
Minori Fukuda
Collection Core Concept
Collection Core Concept
Rays Technologies
Studyx4
Studyx4
technologicarts
Evolving with Java - How to Remain Effective
Evolving with Java - How to Remain Effective
Naresha K
Unit testing patterns for concurrent code
Unit testing patterns for concurrent code
Dror Helper
Studyx1
Studyx1
technologicarts
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Naresha K
Using xUnit as a Swiss-Aarmy Testing Toolkit
Using xUnit as a Swiss-Aarmy Testing Toolkit
Chris Oldwood
Base de-datos
Base de-datos
ferney1428
Ann
Ann
micro536
JDBC Core Concept
JDBC Core Concept
Rays Technologies
Spotify 2016 - Beyond Lambdas - the Aftermath
Spotify 2016 - Beyond Lambdas - the Aftermath
Daniel Sawano
Studyx2
Studyx2
technologicarts
JDays 2016 - Beyond Lambdas - the Aftermath
JDays 2016 - Beyond Lambdas - the Aftermath
Daniel Sawano
Insertion Sort Code
Insertion Sort Code
Nanthachai Poolketgij
Collections Framework
Collections Framework
Sunil OS
ES3-2020-06 Test Driven Development (TDD)
ES3-2020-06 Test Driven Development (TDD)
David Rodenas
.net progrmming part2
.net progrmming part2
Dr.M.Karthika parthasarathy
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Anna Dvornikova
Untitled Presentation
Untitled Presentation
ThomasCawdron
Information Security using Cryptography and Image Processing
Information Security using Cryptography and Image Processing
ijsrd.com
01 ble intro
01 ble intro
gujjupaisa
Weitere ähnliche Inhalte
Was ist angesagt?
クイズプログラム
クイズプログラム
Minori Fukuda
Collection Core Concept
Collection Core Concept
Rays Technologies
Studyx4
Studyx4
technologicarts
Evolving with Java - How to Remain Effective
Evolving with Java - How to Remain Effective
Naresha K
Unit testing patterns for concurrent code
Unit testing patterns for concurrent code
Dror Helper
Studyx1
Studyx1
technologicarts
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Naresha K
Using xUnit as a Swiss-Aarmy Testing Toolkit
Using xUnit as a Swiss-Aarmy Testing Toolkit
Chris Oldwood
Base de-datos
Base de-datos
ferney1428
Ann
Ann
micro536
JDBC Core Concept
JDBC Core Concept
Rays Technologies
Spotify 2016 - Beyond Lambdas - the Aftermath
Spotify 2016 - Beyond Lambdas - the Aftermath
Daniel Sawano
Studyx2
Studyx2
technologicarts
JDays 2016 - Beyond Lambdas - the Aftermath
JDays 2016 - Beyond Lambdas - the Aftermath
Daniel Sawano
Insertion Sort Code
Insertion Sort Code
Nanthachai Poolketgij
Collections Framework
Collections Framework
Sunil OS
ES3-2020-06 Test Driven Development (TDD)
ES3-2020-06 Test Driven Development (TDD)
David Rodenas
.net progrmming part2
.net progrmming part2
Dr.M.Karthika parthasarathy
Was ist angesagt?
(18)
クイズプログラム
クイズプログラム
Collection Core Concept
Collection Core Concept
Studyx4
Studyx4
Evolving with Java - How to Remain Effective
Evolving with Java - How to Remain Effective
Unit testing patterns for concurrent code
Unit testing patterns for concurrent code
Studyx1
Studyx1
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Eclipse Collections, Java Streams & Vavr - What's in them for Functional Pro...
Using xUnit as a Swiss-Aarmy Testing Toolkit
Using xUnit as a Swiss-Aarmy Testing Toolkit
Base de-datos
Base de-datos
Ann
Ann
JDBC Core Concept
JDBC Core Concept
Spotify 2016 - Beyond Lambdas - the Aftermath
Spotify 2016 - Beyond Lambdas - the Aftermath
Studyx2
Studyx2
JDays 2016 - Beyond Lambdas - the Aftermath
JDays 2016 - Beyond Lambdas - the Aftermath
Insertion Sort Code
Insertion Sort Code
Collections Framework
Collections Framework
ES3-2020-06 Test Driven Development (TDD)
ES3-2020-06 Test Driven Development (TDD)
.net progrmming part2
.net progrmming part2
Andere mochten auch
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Anna Dvornikova
Untitled Presentation
Untitled Presentation
ThomasCawdron
Information Security using Cryptography and Image Processing
Information Security using Cryptography and Image Processing
ijsrd.com
01 ble intro
01 ble intro
gujjupaisa
Solitaire full article
Solitaire full article
Jennifer Trask
Bulbul singh
Bulbul singh
Reeti Singh
Andere mochten auch
(6)
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Многообразие мобильных платформ — что стоит использовать в зависимости от зад...
Untitled Presentation
Untitled Presentation
Information Security using Cryptography and Image Processing
Information Security using Cryptography and Image Processing
01 ble intro
01 ble intro
Solitaire full article
Solitaire full article
Bulbul singh
Bulbul singh
Ähnlich wie Code javascript
CODEimport java.util.; public class test { public static voi.pdf
CODEimport java.util.; public class test { public static voi.pdf
anurag1231
Java programs
Java programs
Mukund Gandrakota
Computer java programs
Computer java programs
ADITYA BHARTI
Java file
Java file
simarsimmygrewal
Java AssignmentWrite a program using sortingsorting bubble,sele.pdf
Java AssignmentWrite a program using sortingsorting bubble,sele.pdf
eyewatchsystems
Code
Code
Ray Ray
Core java pract_sem iii
Core java pract_sem iii
Niraj Bharambe
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Ayes Chinmay
mport java.io.; class Student { int rollno; String name; .pdf
mport java.io.; class Student { int rollno; String name; .pdf
aryan9007
Java practical
Java practical
william otto
Java programs
Java programs
Dr.M.Karthika parthasarathy
import java.util.;public class Program{public static void.pdf
import java.util.;public class Program{public static void.pdf
optokunal1
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
anjanacottonmills
Lab4
Lab4
siragezeynu
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_15-Feb-2021_L6-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_15-Feb-2021_L6-...
MaruMengesha
Java Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdf
irshadoptical
Java practical
Java practical
shweta-sharma99
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
deepakangel
QA Auotmation Java programs,theory
QA Auotmation Java programs,theory
archana singh
Driver class
Driver class
VenkatRaoJ
Ähnlich wie Code javascript
(20)
CODEimport java.util.; public class test { public static voi.pdf
CODEimport java.util.; public class test { public static voi.pdf
Java programs
Java programs
Computer java programs
Computer java programs
Java file
Java file
Java AssignmentWrite a program using sortingsorting bubble,sele.pdf
Java AssignmentWrite a program using sortingsorting bubble,sele.pdf
Code
Code
Core java pract_sem iii
Core java pract_sem iii
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
Internet and Web Technology (CLASS-16) [Basic Elements of Java Program] | NIC...
mport java.io.; class Student { int rollno; String name; .pdf
mport java.io.; class Student { int rollno; String name; .pdf
Java practical
Java practical
Java programs
Java programs
import java.util.;public class Program{public static void.pdf
import java.util.;public class Program{public static void.pdf
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
MagicSquareTest.java import java.util.Scanner;public class Mag.pdf
Lab4
Lab4
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_15-Feb-2021_L6-...
WINSEM2020-21_STS3105_SS_VL2020210500169_Reference_Material_I_15-Feb-2021_L6-...
Java Assignment.Implement a binary search algorithm on an array..pdf
Java Assignment.Implement a binary search algorithm on an array..pdf
Java practical
Java practical
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
Factors.javaimport java.io.; import java.util.Scanner; class .pdf
QA Auotmation Java programs,theory
QA Auotmation Java programs,theory
Driver class
Driver class
Mehr von Ray Ray
Booklab
Booklab
Ray Ray
Booklab
Booklab
Ray Ray
Booklab
Booklab
Ray Ray
Code
Code
Ray Ray
Code
Code
Ray Ray
Code
Code
Ray Ray
Laporan Counting Grade Apps
Laporan Counting Grade Apps
Ray Ray
Mehr von Ray Ray
(7)
Booklab
Booklab
Booklab
Booklab
Booklab
Booklab
Code
Code
Code
Code
Code
Code
Laporan Counting Grade Apps
Laporan Counting Grade Apps
Kürzlich hochgeladen
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
Celine George
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
pradhanghanshyam7136
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
callscotland1987
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
agholdier
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
VishalSingh1417
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
Poh-Sun Goh
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
MaritesTamaniVerdade
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
christianmathematics
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
Dr. Sarita Anand
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
Nirmal Dwivedi
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
Esquimalt MFRC
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
neillewis46
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
Celine George
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Nguyen Thanh Tu Collection
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
camerronhm
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
VishalSingh1417
Understanding Accommodations and Modifications
Understanding Accommodations and Modifications
MJDuyan
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Denish Jangid
Kürzlich hochgeladen
(20)
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
Understanding Accommodations and Modifications
Understanding Accommodations and Modifications
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Code javascript
1.
import java.util.Scanner; public class
Soal07 { public static void main(String[] Args) { int jumlah=0,i=0,nilai[]={0,0,0,0,0},flag,jawab=0,no=0; String namaKelas,namaMhs[]={"","","","",""},nim[]={"","","","",""}; Scanner input = new Scanner(System.in); Scanner inputInt = new Scanner(System.in); do{ System.out.println(" Student Mark List"); System.out.println("n1. Input Student"); System.out.println("2. See All Data"); System.out.println("3. Edit Data"); System.out.println("4. Exit"); do{ flag=0; try { System.out.print("nInput Your Choice [1-4] ? "); jawab = inputInt.nextInt(); } catch(Exception e) { System.out.println("nWrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || jawab>4 || jawab<1); if(jawab==1) { do{ flag=0; try { System.out.print("nHow many student [1-5] ? "); jumlah = inputInt.nextInt(); } catch(Exception e) { System.out.println("nWrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || jumlah>5 || jumlah<1); System.out.println("nPlease input data of " + jumlah + " people"); for(i=0;i<jumlah;i++) { System.out.print("n" + (i+1)); do{ System.out.print(" Please input Student Id [10]= "); nim[i] = input.nextLine(); }while(nim[i].length()!=10); System.out.print(" Please input Student Name = "); namaMhs[i] = input.nextLine();
2.
do{ flag=0; try { System.out.print(" Please input Student
Mark [0-100] = "); nilai[i] = inputInt.nextInt(); } catch(Exception e) { System.out.println("n Wrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || nilai[i]>100 || nilai[i]<0); } } else if(jawab==2) { if(jumlah!=0) { System.out.println("nThere is already " + jumlah + " data"); for(i=0;i<jumlah;i++) { System.out.println((i+1) + ". " + namaMhs[i]); } do{ System.out.print("nPlease input student no [1-" + jumlah + "] ? "); flag=0; try { no = inputInt.nextInt(); } catch(Exception e) { System.out.println("nWrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || no>jumlah || no<1); System.out.println("nStudent with No " + no + " is"); System.out.println("Student ID = " + nim[no- 1]); System.out.println("Student Name = " + namaMhs[no-1]); System.out.println("Mark = " + nilai[no- 1]); } } else if(jawab==3) { if(jumlah!=0) { System.out.println("nThere is already " + jumlah + " data"); do{ System.out.print("nPlease input student no [1-" + jumlah + "] ? ");
3.
flag=0; try { no = inputInt.nextInt(); } catch(Exception
e) { System.out.println("nWrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || no>jumlah || no<1); System.out.println("nStudent with No " + no + " is"); System.out.println("Student ID = " + nim[no- 1]); System.out.println("Student Name = " + namaMhs[no-1]); System.out.println("Mark = " + nilai[no- 1]); do{ System.out.print("nPlease input Student ID [10]= "); nim[no-1] = input.nextLine(); }while(nim[no-1].length()!=10); System.out.print("Please input Student Name = "); namaMhs[no-1] = input.nextLine(); do{ flag=0; try { System.out.print("Please input Student Mark [0-100] = "); nilai[no-1] = inputInt.nextInt(); } catch(Exception e) { System.out.println("n Wrong Input!n"); inputInt.nextLine(); flag=1; } }while(flag==1 || nilai[no-1]>100 || nilai[no- 1]<0); } } System.out.println("nnn"); }while(jawab!=4); } }
Jetzt herunterladen