Skip to main content
Search
Search This Blog
Livecodo
Pages
Home
Courses
Blog
About us
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
April 10, 2024
Java program to find pass or fail in exam
import java.util; public class eg1 { public static void main(String[] args) { Scanner n=null; int a, n=new Scanner(System.in); System.out.println("enter marks"); a=n.nextInt(); if(a>=35) { System.out.println("pass"); } else { System.out.println("fail"); } } }
Popular Posts
March 26, 2024
Dynamic Memory allocation in C
May 18, 2024
Searching and sorting Algorithm in C