8:27 pm - Thursday April 25, 2019

Tag Archives: Average

Java Example Program to find the Average of Marks

/** *@author:Candidjava.com *@Discription: collact the student marks and find the average of marks */ public class Avg { public static void main(String[] args) { int n = 5; int marks[] = { 50, 62, 75, 63, 92 };// student marks int...

Statement AVG() Example program in java Jdbc mysql database

Create tableĀ  and insert the values in the table: mysql>INSERT INTO EMP(name,id,salary) VALUES("Karthik",3,5000); INSERT INTO EMP(name,id,salary) VALUES("Tamil",4,2500); Query OK, 0 rows affected (0.06 sec) Java...